Quellcode durchsuchen

fix opus compile for ARM neon with -ffast-math

Waldemar Brodkorb vor 8 Jahren
Ursprung
Commit
24d234e760
1 geänderte Dateien mit 2 neuen und 0 gelöschten Zeilen
  1. 2 0
      package/opus/Makefile

+ 2 - 0
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* \