]> code.ossystems Code Review - openembedded-core.git/commit
xproto: fix compilation with x32 toolchain
authorNitin A Kamble <nitin.a.kamble@intel.com>
Fri, 2 Dec 2011 20:20:07 +0000 (12:20 -0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 5 Dec 2011 22:45:22 +0000 (22:45 +0000)
commit3678341326ca1011c3b61d29cb21ed67cda04b88
tree815776491d27dc00892bb8229ae84cae0d69fe8b
parentf43d633540b41c94eacfbc3c5c450ddd192b2164
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
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-graphics/xorg-proto/xproto/xproto_fix_for_x32.patch [new file with mode: 0644]
meta/recipes-graphics/xorg-proto/xproto_7.0.22.bb