summaryrefslogtreecommitdiff
path: root/package/opus
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2015-12-06 13:59:11 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2015-12-06 13:59:11 +0100
commit24d234e760a594d07add2906c5a5142e579686a3 (patch)
treee9407708661bd16fc09fbb92c1d31c32944a7719 /package/opus
parent19d8137d61cf0d9a8d88df2f7a8205cb22977a13 (diff)
fix opus compile for ARM neon with -ffast-math
Diffstat (limited to 'package/opus')
-rw-r--r--package/opus/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/package/opus/Makefile b/package/opus/Makefile
index c832751a3..757c909c3 100644
--- a/package/opus/Makefile
+++ b/package/opus/Makefile
@@ -20,6 +20,8 @@ include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,LIBOPUS,libopus,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
+TARGET_CFLAGS:= $(filter-out -ffast-math,$(TARGET_CFLAGS))
+
libopus-install:
$(INSTALL_DIR) $(IDIR_LIBOPUS)/usr/lib
$(CP) $(WRKINST)/usr/lib/libopus*.so* \