libx11: add -fforward-propagate also to newer 1.3.[34] versions
authorMartin Jansa <Martin.Jansa@gmail.com>
Wed, 23 Jun 2010 10:48:51 +0000 (12:48 +0200)
committerMartin Jansa <Martin.Jansa@gmail.com>
Thu, 24 Jun 2010 09:10:42 +0000 (11:10 +0200)
* PR will be bumped later with INC_PR conversion

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
recipes/xorg-lib/libx11_1.3.3.bb
recipes/xorg-lib/libx11_1.3.4.bb

index 37ef559..b4c2477 100644 (file)
@@ -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
index 1a7432c..be1702a 100644 (file)
@@ -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