[oe-commits] Khem Raj : libx11_1.3.2.bb: Use Os in DEBUG_OPTIMIZATION for thumb
git version control
git at git.openembedded.org
Wed Aug 11 23:52:14 UTC 2010
Module: openembedded.git
Branch: org.openembedded.dev
Commit: b3f908c8611c0d205fb3cb1432838ed312b3acda
URL: http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=b3f908c8611c0d205fb3cb1432838ed312b3acda
Author: Khem Raj <raj.khem at gmail.com>
Date: Wed Aug 11 16:36:36 2010 -0700
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 at gmail.com>
---
recipes/xorg-lib/libx11_1.3.2.bb | 6 +++++-
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 8d8611f..0446674 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"
More information about the Openembedded-commits
mailing list