libvorbis: thumb only (no PR change): prevent all optimisation to hide an
authorJohn Bowler <jbowler@nslu2-linux.org>
Thu, 11 Aug 2005 20:11:58 +0000 (20:11 +0000)
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>
Thu, 11 Aug 2005 20:11:58 +0000 (20:11 +0000)
apparent compiler bug (register spilling) when compiling thumb code.

packages/libvorbis/libvorbis_1.0.1.bb

index 89bae8f..3a3ab73 100644 (file)
@@ -9,6 +9,10 @@ file://m4.patch;patch=1"
 
 inherit autotools  pkgconfig
 
+# vorbisfile.c reveals a problem in the gcc register spilling for the
+# thumb instruction set...
+FULL_OPTIMIZATION_thumb = "-O0"
+
 EXTRA_OECONF = "--with-ogg-libraries=${STAGING_LIBDIR} \
                --with-ogg-includes=${STAGING_INCDIR}"