Skip to contentSkip to conversation

package/libnss: remove check against GCC_AT_LEAST_4_8

PATCH New Giulio Benetti 2 participants 2 messages Dec 16, 2019 – Dec 25, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/libnss: remove check against GCC_AT_LEAST_4_8

NSS_ENABLE_WERROR=0 is already added by default to LIBNSS_BUILD_VARS previously, so let's remove this check and set.

---
This patch must be applied after this series:
https://patchwork.ozlabs.org/project/buildroot/list/?series=148093

---
 package/libnss/libnss.mk | 6 ------
 1 file changed, 6 deletions(-)
package/libnss/libnss.mk +0 -6
index ae49dbe1b2..9349276a90 100644
@@ -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
Signature · 1 line
2.20.1
#1 lore raw

PATCH 1/1 package/libnss: remove check against GCC_AT_LEAST_4_8

Quoted 10 lines · On Mon, 16 Dec 2019 17:14:15 +0100 Giulio Benetti…

NSS_ENABLE_WERROR=0 is already added by default to LIBNSS_BUILD_VARS previously, so let's remove this check and set.

---
This patch must be applied after this series:
https://patchwork.ozlabs.org/project/buildroot/list/?series=148093

---
 package/libnss/libnss.mk | 6 ------
 1 file changed, 6 deletions(-)

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com