diff options
author | Nitin A Kamble <nitin.a.kamble@intel.com> | 2011-12-02 12:20:07 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-12-05 22:47:07 +0000 |
commit | a3cd4f5ee490d50d0e1c28cdb2c23ef95361b1d1 (patch) | |
tree | 643188b7b537db12a934853cf4b4eb85191b0afb /meta/recipes-graphics/xorg-proto/xproto_7.0.22.bb | |
parent | f3c0a02b920efa5747474b4c65aba12a928e56de (diff) | |
download | poky-a3cd4f5ee490d50d0e1c28cdb2c23ef95361b1d1.tar.gz |
xproto: fix compilation with x32 toolchain
Don't always define LONG64 for AMD64
X32 defines __amd64__/amd64 with 32bit long. We should simply check
__LP64__ before defining LONG64 without checking __amd64__/amd64.
This fixes compilation with x32 toolchain.
Signed-Off-By: H.J. Lu <hjl.tools@gmail.com>
Signed-Off-By: Nitin A Kamble <nitin.a.kamble@intel.com> 2011/12/1
(From OE-Core rev: 3678341326ca1011c3b61d29cb21ed67cda04b88)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics/xorg-proto/xproto_7.0.22.bb')
-rw-r--r-- | meta/recipes-graphics/xorg-proto/xproto_7.0.22.bb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/recipes-graphics/xorg-proto/xproto_7.0.22.bb b/meta/recipes-graphics/xorg-proto/xproto_7.0.22.bb index 54f8482dce..8f763142ae 100644 --- a/meta/recipes-graphics/xorg-proto/xproto_7.0.22.bb +++ b/meta/recipes-graphics/xorg-proto/xproto_7.0.22.bb | |||
@@ -8,9 +8,11 @@ System." | |||
8 | LICENSE = "MIT & MIT-style" | 8 | LICENSE = "MIT & MIT-style" |
9 | LIC_FILES_CHKSUM = "file://COPYING;md5=b9e051107d5628966739a0b2e9b32676" | 9 | LIC_FILES_CHKSUM = "file://COPYING;md5=b9e051107d5628966739a0b2e9b32676" |
10 | 10 | ||
11 | PR = "r0" | 11 | PR = "r1" |
12 | PE = "1" | 12 | PE = "1" |
13 | 13 | ||
14 | SRC_URI += "file://xproto_fix_for_x32.patch" | ||
15 | |||
14 | EXTRA_OECONF_append = " --enable-specs=no" | 16 | EXTRA_OECONF_append = " --enable-specs=no" |
15 | BBCLASSEXTEND = "native nativesdk" | 17 | BBCLASSEXTEND = "native nativesdk" |
16 | 18 | ||