diff options
Diffstat (limited to 'meta/recipes-graphics/xorg-lib/libx11.inc')
-rw-r--r-- | meta/recipes-graphics/xorg-lib/libx11.inc | 8 |
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 | ||
7 | require xorg-lib-common.inc | 7 | require xorg-lib-common.inc |
8 | 8 | ||
9 | inherit siteinfo | ||
10 | |||
9 | PROVIDES = "virtual/libx11" | 11 | PROVIDES = "virtual/libx11" |
10 | 12 | ||
11 | XORG_PN = "libX11" | 13 | XORG_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 |