[oe-commits] Martin Jansa : libx11: add -fforward-propagate also to newer 1.3.[34] versions

git version control git at git.openembedded.org
Thu Jun 24 09:16:06 UTC 2010


Module: openembedded.git
Branch: org.openembedded.dev
Commit: ce26c079f206116b456163a17e123db66033e6bc
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=ce26c079f206116b456163a17e123db66033e6bc

Author: Martin Jansa <Martin.Jansa at gmail.com>
Date:   Wed Jun 23 12:48:51 2010 +0200

libx11: add -fforward-propagate also to newer 1.3.[34] versions

* PR will be bumped later with INC_PR conversion

Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>

---

 recipes/xorg-lib/libx11_1.3.3.bb |    6 ++++++
 recipes/xorg-lib/libx11_1.3.4.bb |    6 ++++++
 2 files changed, 12 insertions(+), 0 deletions(-)

diff --git a/recipes/xorg-lib/libx11_1.3.3.bb b/recipes/xorg-lib/libx11_1.3.3.bb
index 37ef559..b4c2477 100644
--- a/recipes/xorg-lib/libx11_1.3.3.bb
+++ b/recipes/xorg-lib/libx11_1.3.3.bb
@@ -17,6 +17,12 @@ SRC_URI += "file://x11_disable_makekeys.patch \
 # --with-keysymdef has intentionally no effect in native build without without keysymdef_include.patch
 EXTRA_OECONF += "--without-xcb --with-keysymdef=${STAGING_INCDIR}/X11/keysymdef.h"
 
+# Below option is added to overcome the GCC bug on ARM
+# see http://gcc.gnu.org/PR42981 for further details.
+# We could potentially take it off when its fixed in gcc 4.5
+
+CFLAGS_append_arm = " -fforward-propagate "
+
 do_compile() {
 	(
 		unset CC LD CXX CCLD CFLAGS CPPFLAGS LDFLAGS CXXFLAGS
diff --git a/recipes/xorg-lib/libx11_1.3.4.bb b/recipes/xorg-lib/libx11_1.3.4.bb
index 1a7432c..be1702a 100644
--- a/recipes/xorg-lib/libx11_1.3.4.bb
+++ b/recipes/xorg-lib/libx11_1.3.4.bb
@@ -17,6 +17,12 @@ SRC_URI += "file://x11_disable_makekeys.patch \
 # --with-keysymdef has intentionally no effect in native build without without keysymdef_include.patch
 EXTRA_OECONF += "--without-xcb --with-keysymdef=${STAGING_INCDIR}/X11/keysymdef.h"
 
+# Below option is added to overcome the GCC bug on ARM
+# see http://gcc.gnu.org/PR42981 for further details.
+# We could potentially take it off when its fixed in gcc 4.5
+
+CFLAGS_append_arm = " -fforward-propagate "
+
 do_compile() {
 	(
 		unset CC LD CXX CCLD CFLAGS CPPFLAGS LDFLAGS CXXFLAGS





More information about the Openembedded-commits mailing list