]> git.droids-corp.org - dpdk.git/blobdiff - mk/toolchain/gcc/rte.vars.mk
mk: no more bare metal environment
[dpdk.git] / mk / toolchain / gcc / rte.vars.mk
index 993eb2674ae4c482454fcc17beb1a033d7c06cae..88f235cc99129611de85d3c26f9999e38d071948 100644 (file)
@@ -75,11 +75,7 @@ WERROR_FLAGS := -W -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes
 WERROR_FLAGS += -Wmissing-declarations -Wold-style-definition -Wpointer-arith
 WERROR_FLAGS += -Wcast-align -Wnested-externs -Wcast-qual
 WERROR_FLAGS += -Wformat-nonliteral -Wformat-security
-
-ifeq ($(CONFIG_RTE_EXEC_ENV),"linuxapp")
-# These trigger warnings in newlib, so can't be used for baremetal
 WERROR_FLAGS += -Wundef -Wwrite-strings
-endif
 
 # process cpu flags
 include $(RTE_SDK)/mk/toolchain/$(RTE_TOOLCHAIN)/rte.toolchain-compat.mk