package/libnss: fix build failure on RHEL 7
authorGiulio Benetti <giulio.benetti@benettiengineering.com>
Thu, 12 Dec 2019 14:01:17 +0000 (15:01 +0100)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Mon, 23 Dec 2019 22:43:04 +0000 (23:43 +0100)
commitfe4b47a12181b89eecb9a8e324f1ad053147f948
treedf9dea47895f2cd2e1c206febf4d0ad97993e5d7
parent07c5975f5239b8b475a354b567639641484ab460
package/libnss: fix build failure on RHEL 7

-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@benettiengineering.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/libnss/0005-Bug-1603398-Fix-nsinstall.c-build-failure-on-RHEL-7.patch [new file with mode: 0644]