summaryrefslogtreecommitdiff
path: root/recipes/xorg-lib/libx11_1.3.2.bb
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2010-08-11 16:36:36 -0700
committerKhem Raj <raj.khem@gmail.com>2010-08-11 16:51:52 -0700
commitb3f908c8611c0d205fb3cb1432838ed312b3acda (patch)
tree9f4db34455fc4c23f0bbf10b5152421802c7aa96 /recipes/xorg-lib/libx11_1.3.2.bb
parentf502472a26a50cb1adec355fb4a7d10d029c7ace (diff)
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 <raj.khem@gmail.com>
Diffstat (limited to 'recipes/xorg-lib/libx11_1.3.2.bb')
-rw-r--r--recipes/xorg-lib/libx11_1.3.2.bb6
1 files changed, 5 insertions, 1 deletions
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"