[oe-commits] Khem Raj : libx11_1.3.2.bb: Add -fforward-propagate on arm.

git version control git at git.openembedded.org
Sat Jun 5 13:53:40 UTC 2010


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

Author: Khem Raj <raj.khem at gmail.com>
Date:   Wed Jun  2 13:11:23 2010 -0700

libx11_1.3.2.bb: Add -fforward-propagate on arm.

* Needed on -O1 compile. Generally we use -Os where
  this option is already enabled. But we enable is anyway
  so it gets picked at -O1 too which we use with DEBUG builds.

Signed-off-by: Khem Raj <raj.khem at gmail.com>
Acked-by: Martin Jansa <Martin.Jansa at gmail.com>

---

 recipes/xorg-lib/libx11_1.3.2.bb |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diff --git a/recipes/xorg-lib/libx11_1.3.2.bb b/recipes/xorg-lib/libx11_1.3.2.bb
index 855dfa2..291486b 100644
--- a/recipes/xorg-lib/libx11_1.3.2.bb
+++ b/recipes/xorg-lib/libx11_1.3.2.bb
@@ -5,7 +5,7 @@ DEPENDS += "bigreqsproto xproto xextproto xtrans libxau xcmiscproto \
             libxdmcp xf86bigfontproto kbproto inputproto xproto-native"
 PROVIDES = "virtual/libx11"
 PE = "1"
-PR = "r3"
+PR = "r4"
 
 XORG_PN = "libX11"
 
@@ -15,6 +15,12 @@ SRC_URI += "file://x11_disable_makekeys.1.6.3.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