[Buildroot] [PATCH v2 1/1] package/numactl: Fix uClibc compile breakage after musl compile fix

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Fri Feb 12 21:49:34 UTC 2016


Dear Bernd Kuhls,

On Fri, 12 Feb 2016 20:22:29 +0100, Bernd Kuhls wrote:

>  -#if defined(__GLIBC__) && __GLIBC_PREREQ(2, 11)
> -+#if defined(__GLIBC__)
> -+# if __GLIBC_PREREQ(2,11)
> ++#if defined(__GLIBC_PREREQ) && __GLIBC_PREREQ(2, 11)

If you put both on the same line, aren't we back to the musl build
issue, where testing if a macro is defined *and* using it in the same
condition doesn't work ?

Did you verify this solution with a build against a musl toolchain ?

Thanks,

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com


More information about the buildroot mailing list