diff options
author | Richard Purdie <richard@openedhand.com> | 2008-05-01 12:31:19 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2008-05-01 12:31:19 +0000 |
commit | 16e8921c687e2d9bfdb0a46cd46186b159dd792e (patch) | |
tree | 14596d440c6599c78981bec22cf215c6d72dc3c7 /meta/packages/xorg-lib | |
parent | b1108124b16bc8b6eced40319cafd79c6ef1d016 (diff) | |
download | poky-16e8921c687e2d9bfdb0a46cd46186b159dd792e.tar.gz |
libx11: Fix do_compile hack to use native headers and allow do_compile to run more than once
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4391 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/xorg-lib')
-rw-r--r-- | meta/packages/xorg-lib/libx11_1.1.4.bb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/packages/xorg-lib/libx11_1.1.4.bb b/meta/packages/xorg-lib/libx11_1.1.4.bb index 615cfb6686..492cc4106b 100644 --- a/meta/packages/xorg-lib/libx11_1.1.4.bb +++ b/meta/packages/xorg-lib/libx11_1.1.4.bb | |||
@@ -17,7 +17,8 @@ EXTRA_OECONF += "--without-xcb --with-keysymdef=${STAGING_INCDIR}/X11/keysymdef. | |||
17 | do_compile() { | 17 | do_compile() { |
18 | ( | 18 | ( |
19 | unset CC LD CXX CCLD CFLAGS CPPFLAGS LDFLAGS CXXFLAGS | 19 | unset CC LD CXX CCLD CFLAGS CPPFLAGS LDFLAGS CXXFLAGS |
20 | cd src/util; touch makekeys-makekeys.o ; ${BUILD_CC} ${BUILD_CFLAGS} -I${STAGING_INCDIR} makekeys.c -o makekeys | 20 | mv makekeys.c.orig makekeys.c || true |
21 | cd src/util; touch makekeys-makekeys.o ; ${BUILD_CC} ${BUILD_CFLAGS} -I${STAGING_INCDIR_NATIVE} makekeys.c -o makekeys | ||
21 | # mv to stop it getting rebuilt | 22 | # mv to stop it getting rebuilt |
22 | mv makekeys.c makekeys.c.orig | 23 | mv makekeys.c makekeys.c.orig |
23 | cd ../../ | 24 | cd ../../ |