summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/xorg-lib/libx11.inc
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-graphics/xorg-lib/libx11.inc')
-rw-r--r--meta/recipes-graphics/xorg-lib/libx11.inc8
1 files changed, 7 insertions, 1 deletions
diff --git a/meta/recipes-graphics/xorg-lib/libx11.inc b/meta/recipes-graphics/xorg-lib/libx11.inc
index 030b0dbc5d..c156ce6dcb 100644
--- a/meta/recipes-graphics/xorg-lib/libx11.inc
+++ b/meta/recipes-graphics/xorg-lib/libx11.inc
@@ -6,6 +6,8 @@ basic functions of the window system."
6 6
7require xorg-lib-common.inc 7require xorg-lib-common.inc
8 8
9inherit siteinfo
10
9PROVIDES = "virtual/libx11" 11PROVIDES = "virtual/libx11"
10 12
11XORG_PN = "libX11" 13XORG_PN = "libX11"
@@ -22,7 +24,11 @@ do_compile() {
22 touch makekeys-makekeys.o 24 touch makekeys-makekeys.o
23 ( 25 (
24 unset CC LD CXX CCLD CFLAGS CPPFLAGS LDFLAGS CXXFLAGS 26 unset CC LD CXX CCLD CFLAGS CPPFLAGS LDFLAGS CXXFLAGS
25 ${BUILD_CC} ${BUILD_CFLAGS} -I${STAGING_INCDIR_NATIVE} makekeys.c -o makekeys 27 if [ "${SITEINFO_BITS}" == "64" ]; then
28 ${BUILD_CC} ${BUILD_CFLAGS} -I${STAGING_INCDIR_NATIVE} makekeys.c -o makekeys
29 else
30 ${BUILD_CC} ${BUILD_CFLAGS} -I${STAGING_INCDIR_NATIVE} -DUSE32 makekeys.c -o makekeys
31 fi
26 ) 32 )
27 if [ "$?" != "0" ]; then 33 if [ "$?" != "0" ]; then
28 exit 1 34 exit 1