[oe-commits] Steve Sakoman : libx11: fix build breakage

git version control git at git.openembedded.org
Thu Dec 24 17:38:28 UTC 2009


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

Author: Steve Sakoman <steve at sakoman.com>
Date:   Thu Dec 24 07:51:35 2009 -0800

libx11: fix build breakage

---

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

diff --git a/recipes/xorg-lib/libx11_1.3.2.bb b/recipes/xorg-lib/libx11_1.3.2.bb
index 796ed1e..34b2264 100644
--- a/recipes/xorg-lib/libx11_1.3.2.bb
+++ b/recipes/xorg-lib/libx11_1.3.2.bb
@@ -20,8 +20,8 @@ do_compile() {
 		unset CC LD CXX CCLD CFLAGS CPPFLAGS LDFLAGS CXXFLAGS
 		cd src/util; 
 		mv makekeys.c.orig makekeys.c || true
-		touch makekeys-makekeys.o ; gcc makekeys.c -o makekeys
-		mv to stop it getting rebuilt
+		touch makekeys-makekeys.o ; ${BUILD_CC} ${BUILD_CFLAGS} -I${STAGING_INCDIR_NATIVE} makekeys.c -o makekeys
+		# mv to stop it getting rebuilt
 		mv makekeys.c makekeys.c.orig
 		cd ../../
 	) || exit 1





More information about the Openembedded-commits mailing list