[Buildroot] [PATCH 1/2] package/libnss: fix build failure on RHEL 7

Thomas Petazzoni thomas.petazzoni at bootlin.com
Mon Dec 23 22:46:04 UTC 2019


On Thu, 12 Dec 2019 15:01:17 +0100
Giulio Benetti <giulio.benetti at benettiengineering.com> wrote:

> -DLINUX flag was passed to OS_CFLAGS instead of DEFINES, but OS_CFLAGS
> is only used when cross-compiling, not when native building.
> 
> Add patch to fix build failure on RHEL 7 host by substituting OS_CFLAGS
> with DEFINES.
> 
> Signed-off-by: Giulio Benetti <giulio.benetti at benettiengineering.com>
> ---
> Patch is pending upstream:
> https://bugzilla.mozilla.org/show_bug.cgi?id=1603398
> ---
>  ...-nsinstall.c-build-failure-on-RHEL-7.patch | 29 +++++++++++++++++++
>  1 file changed, 29 insertions(+)
>  create mode 100644 package/libnss/0005-Bug-1603398-Fix-nsinstall.c-build-failure-on-RHEL-7.patch

Applied to master, thanks.

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com



More information about the buildroot mailing list