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

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


Dear Bernd Kuhls,

On Fri, 12 Feb 2016 19:28:27 +0100, Bernd Kuhls wrote:

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

What about just:

#if defined(__GLIBC_PREREQ)
#if __GLIBC_PREREQ(2,11)
...
#endif
#endif

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



More information about the buildroot mailing list