From: Khem Raj Date: Wed, 11 Aug 2010 23:36:36 +0000 (-0700) Subject: libx11_1.3.2.bb: Use Os in DEBUG_OPTIMIZATION for thumb X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b3f908c8611c0d205fb3cb1432838ed312b3acda;p=openembedded.git libx11_1.3.2.bb: Use Os in DEBUG_OPTIMIZATION for thumb * This is to avoid a bug in GCC 4.5 where it ICEs with -O1 -mthumb -fno-omit-frame-pointer Signed-off-by: Khem Raj --- diff --git a/recipes/xorg-lib/libx11_1.3.2.bb b/recipes/xorg-lib/libx11_1.3.2.bb index 8d8611f255..0446674c99 100644 --- a/recipes/xorg-lib/libx11_1.3.2.bb +++ b/recipes/xorg-lib/libx11_1.3.2.bb @@ -1,6 +1,10 @@ require libx11.inc -PR = "${INC_PR}.0" +PR = "${INC_PR}.1" +# gcc 4.5 ends up ICEing with thumb and -O1 with -fno-omit-framepointer +# therefore if we are in thumb mode then we use -Os instead of -O1 for +# DEBUG_OPTIMIZATION +DEBUG_OPTIMIZATION_thumb_append = " -Os" SRC_URI += " file://dolt-fix.patch" SRC_URI[archive.md5sum] = "001d780829f936e34851ef7cd37b4dfd" SRC_URI[archive.sha256sum] = "4def4d5c9fce85d690f1f29d675154594acdea3d3fe792d0cb513732c7b4bcb2"