package/libnss: remove check against GCC_AT_LEAST_4_8
authorGiulio Benetti <giulio.benetti@benettiengineering.com>
Mon, 16 Dec 2019 16:14:15 +0000 (17:14 +0100)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Wed, 25 Dec 2019 22:12:28 +0000 (23:12 +0100)
NSS_ENABLE_WERROR=0 is already added by default to LIBNSS_BUILD_VARS
previously, so let's remove this check and set.

Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/libnss/libnss.mk

index ae49dbe1b2c6460d87ef7c08c96789fa05cfa848..9349276a9017715ec190906df430efdd6b7dc517 100644 (file)
@@ -56,12 +56,6 @@ LIBNSS_BUILD_VARS = \
        OS_TEST="$(LIBNSS_ARCH)" \
        NSS_ENABLE_WERROR=0
 
-# #pragma usage needs gcc >= 4.8
-# See https://bugzilla.mozilla.org/show_bug.cgi?id=1226179
-ifeq ($(BR2_TOOLCHAIN_GCC_AT_LEAST_4_8),)
-LIBNSS_BUILD_VARS += NSS_ENABLE_WERROR=0
-endif
-
 ifeq ($(BR2_ARCH_IS_64),y)
 # MIPS64 n32 is treated as a 32-bit architecture by libnss.
 # See: https://bugzilla.mozilla.org/show_bug.cgi?id=1010730