summaryrefslogtreecommitdiff
path: root/recipes/xorg-lib/libx11_1.3.3.bb
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/xorg-lib/libx11_1.3.3.bb')
-rw-r--r--recipes/xorg-lib/libx11_1.3.3.bb6
1 files changed, 6 insertions, 0 deletions
diff --git a/recipes/xorg-lib/libx11_1.3.3.bb b/recipes/xorg-lib/libx11_1.3.3.bb
index 37ef559011..b4c2477ea4 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