summaryrefslogtreecommitdiff
path: root/packages/libvorbis
diff options
context:
space:
mode:
authorJohn Bowler <jbowler@nslu2-linux.org>2005-08-11 20:11:58 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2005-08-11 20:11:58 +0000
commit5815d684a5f291ea94e1bdb4a4cded24fb742aae (patch)
tree89cde369b77b239ba3101d7e928a702a841e5e5f /packages/libvorbis
parent729d1980b3800bb4c4cf7744583206bd95057770 (diff)
libvorbis: thumb only (no PR change): prevent all optimisation to hide an
apparent compiler bug (register spilling) when compiling thumb code.
Diffstat (limited to 'packages/libvorbis')
-rw-r--r--packages/libvorbis/libvorbis_1.0.1.bb4
1 files changed, 4 insertions, 0 deletions
diff --git a/packages/libvorbis/libvorbis_1.0.1.bb b/packages/libvorbis/libvorbis_1.0.1.bb
index 89bae8f858..3a3ab73eeb 100644
--- a/packages/libvorbis/libvorbis_1.0.1.bb
+++ b/packages/libvorbis/libvorbis_1.0.1.bb
@@ -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}"