Hi,

Le 02/15/12 06:31, guillermo a écrit :
Patch for fixed point in libfaad2.
Dont know if is the most appropiate way of passing the argument.
Dont know if patch is well done. First time. Work for me though.
Can listen to BBC 3 (AAC) with mpd. CPU usage is good.

Can you rather introduce this as a configuration option in menuconfig?
Some people might be fine with not using fixed points arithmetics on their systems.

Also, please follow the patch submission guide here:
https://dev.openwrt.org/wiki/SubmittingPatches

Thanks!


--

--- a/package/feeds/packages/faad2/Makefile
+++ b/package/feeds/packages/faad2/Makefile
@@ -75,6 +75,9 @@ define Build/Configure
        )
  endef

+MAKE_FLAGS += \
+       CFLAGS="$(TARGET_CFLAGS) -DFIXED_POINT"
+
  define Build/InstallDev
        $(INSTALL_DIR) $(1)/usr/include
        $(CP) $(PKG_INSTALL_DIR)/usr/include/*.h $(1)/usr/include

_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to