[OE-core] [PATCH] syslinux: check for __i386__ and __x86_64__ instead of __SIZEOF_POINTER__
Otavio Salvador
otavio at ossystems.com.br
Fri Nov 22 13:51:02 UTC 2013
On Thu, Nov 21, 2013 at 5:26 PM, Mark Hatle <mark.hatle at windriver.com> wrote:
> From: Lei Liu <lei.liu2 at windriver.com>
>
> (Note: this patch is being sent for Yocto Project compliance, I don't
> believe it is generally applicable to oe-core as it's only needed on
> older host systems.)
>
> GCC version 4.2 and earlier does not define __SIZEOF_POINTER__.
> Check for __i386__ and __x86_64__ instead to make the code compile with
> old compiler.
>
> Signed-off-by: Lei Liu <lei.liu2 at windriver.com>
> Signed-off-by: Randy MacLeod <Randy.MacLeod at windriver.com>
I don't think it hurt to include it in OE-Core. I'd be in favor of including it.
--
Otavio Salvador O.S. Systems
http://www.ossystems.com.br http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854 Mobile: +1 (347) 903-9750
More information about the Openembedded-core
mailing list