[Buildroot] sysvinit-2.88 build is failing for ARM64

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Fri Sep 18 07:26:04 UTC 2015


Baruch,

On Fri, 18 Sep 2015 00:39:16 +0300, Baruch Siach wrote:

> Why not use /dev/null for gcc output instead of a temporary file? Something 
> like:
> 
> HAS_LIBCRYPT=$(shell echo 'int main(void) {}' | $(CC) -o /dev/null -xc - -lcrypt >/dev/null 2>&1 && echo y)

Because it is known to not work with all toolchains:

   http://git.buildroot.net/buildroot/commit/toolchain/helpers.mk?id=375bc18850f0f8fec90e1e478c0e9d2159377a64

Best regards,

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


More information about the buildroot mailing list