[Buildroot] [PATCH] libnss: don't use target CFLAGS with host toolchain
jacmet at uclibc.org
Tue Jul 1 10:57:08 UTC 2014
>>>>> "Baruch" == Baruch Siach <baruch at tkos.co.il> writes:
> The OPTIMIZER variable is used to construct CFLAGS for host toolchain.
> This breaks the build since we set it to TARGET_CFLAGS, and these may not be
> supported by host toolchain. Augment the cross-compile patch to handle
> OPTIMIZER so that we can initialize it to TARGET_OPTIMIZER, and override it
> when used with host toolchain.
> Signed-off-by: Baruch Siach <baruch at tkos.co.il>
Bye, Peter Korsgaard
More information about the buildroot