Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix usage of __GLIBC_PREREQ for non-glibc toolchains
The way __GLIBC_PREREQ() is currently used means that it's evaluated even if __GLIBC__ is not defined. But obviously, __GLIBC_PREREQ will not exist if __GLIBC__ is not defined, causing build failures on C libraries not defining __GLIBC__ such as the musl C library. Patch originally taken from: https://github.com/voidlinux/void-packages/blob/master/srcpkgs/numactl/patches/musl.patch Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> [Bernd: Reworked to fix uClibc] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> [Thomas: improve patch description.]
- Loading branch information