diff options
author | Stelios Koroneos <skoroneos@digital-opsis.com> | 2007-08-06 11:57:26 +0000 |
---|---|---|
committer | Stelios Koroneos <skoroneos@digital-opsis.com> | 2007-08-06 11:57:26 +0000 |
commit | 3b0dbf13c1f7e06597ba0c2e18345317b5b7298c (patch) | |
tree | 402d4a69b9d4223321dbabfa38826571e2907bd4 /packages | |
parent | c3c1b23e47b720d97c2c9d3a962284fe148ea72a (diff) |
packages/xorg-lib/libx11_1.1.2.bb : Fix an issue when building for Efika, where it used
target toolchain to build makekeys which is need to run on the host
Diffstat (limited to 'packages')
-rw-r--r-- | packages/xorg-lib/libx11_1.1.2.bb | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/packages/xorg-lib/libx11_1.1.2.bb b/packages/xorg-lib/libx11_1.1.2.bb index bab2277fd0..e6b0ec5d8b 100644 --- a/packages/xorg-lib/libx11_1.1.2.bb +++ b/packages/xorg-lib/libx11_1.1.2.bb @@ -5,17 +5,19 @@ DEPENDS += "bigreqsproto xproto xextproto xtrans libxau xcmiscproto \ libxdmcp xf86bigfontproto kbproto inputproto" PROVIDES = "virtual/libx11" PE = "1" +PR = "r1" XORG_PN = "libX11" EXTRA_OECONF += "--without-xcb" do_compile() { - ( - unset CC LD CXX CCLD - oe_runmake -C src/util 'CC=${BUILD_CC}' 'LD=${BUILD_LD}' 'CXX=${BUILD_CXX}' 'CCLD=${BUILD_CCLD}' 'CFLAGS=-D_GNU_SOURCE ${BUILD_CFLAGS}' 'LDFLAGS=${BUILD_LDFLAGS}' 'CXXFLAGS=${BUILD_CXXFLAGS}' 'CPPFLAGS=${BUILD_CPPFLAGS}' makekeys - ) - oe_runmake + ( + unset CC LD CXX CCLD CFLAGS CPPFLAGS LDFLAGS CXXFLAGS + cd src/util; touch makekeys-makekeys.o ; ${BUILD_CC} ${BUILD_CFLAGS} makekeys.c -o makekeys + cd ../../ + ) || exit 1 + oe_runmake } FILES_${PN} += "${datadir}/X11/XKeysymDB ${datadir}/X11/XErrorDB ${libdir}/X11/Xcms.txt" |