Author: ayoung
Date: Thu Feb  4 00:22:01 2010
New Revision: 8451

URL: http://svn.slimdevices.com/jive?rev=8451&view=rev
Log:
bug 14489: work around: use -O0 for WMA fft.c module

Modified:
    
7.5/trunk/squeezeos/poky/meta-squeezeos/packages/squeezeplay/squeezeplay-private_svn.bb

Modified: 
7.5/trunk/squeezeos/poky/meta-squeezeos/packages/squeezeplay/squeezeplay-private_svn.bb
URL: 
http://svn.slimdevices.com/jive/7.5/trunk/squeezeos/poky/meta-squeezeos/packages/squeezeplay/squeezeplay-private_svn.bb?rev=8451&r1=8450&r2=8451&view=diff
==============================================================================
--- 
7.5/trunk/squeezeos/poky/meta-squeezeos/packages/squeezeplay/squeezeplay-private_svn.bb
 (original)
+++ 
7.5/trunk/squeezeos/poky/meta-squeezeos/packages/squeezeplay/squeezeplay-private_svn.bb
 Thu Feb  4 00:22:01 2010
@@ -24,6 +24,15 @@
 #CFLAGS_prepend_fab4 = "-DIMX31"
 #CFLAGS_prepend_baby = "-DIMX25"
 
+# We need to override the optimization for the build of the WMA fft.c module
+# because we get bad code generation with any optimization enabled.
+# Override CFLAGS here so that we can pass the desired flags via the 
environment (TARGET_CFLAGS)
+# at compilation time instead of autoconf building them into the Makefile at 
configure time;
+# Makefile.am now uses TARGET_CFLAGS and TARGET_CFLAGS_WMAFFT
+# -pass-exit-codes is just a dummy value so that configure does not generate 
defaults
+CFLAGS = -pass-exit-codes
+export TARGET_CFLAGS_WMAFFT = ${TARGET_CFLAGS} -O0
+
 do_stage() {
        autotools_stage_all
        install -m 0644 src/syna_chiral_api.h 
${STAGING_INCDIR}/syna_chiral_api.h

_______________________________________________
Jive-checkins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/jive-checkins

Reply via email to