summaryrefslogtreecommitdiff
path: root/mk/target
diff options
context:
space:
mode:
authorThomas Monjalon <thomas.monjalon@6wind.com>2016-12-04 23:08:45 +0100
committerThomas Monjalon <thomas.monjalon@6wind.com>2016-12-07 18:34:02 +0100
commit65df6d069d21de497bec6a29063341f30c42e29c (patch)
tree393609ca5a40540f53ae03be2bf751f229258167 /mk/target
parent85c05b5147a31e9a4758a1cdf6b5664bf554eac4 (diff)
downloaddpdk-next-eventdev-65df6d069d21de497bec6a29063341f30c42e29c.zip
dpdk-next-eventdev-65df6d069d21de497bec6a29063341f30c42e29c.tar.gz
dpdk-next-eventdev-65df6d069d21de497bec6a29063341f30c42e29c.tar.xz
config: remove insecure warnings
There was an option CONFIG_RTE_INSECURE_FUNCTION_WARNING (disabled by default), which prevents from using some libc functions: sprintf, snprintf, vsnprintf, strcpy, strncpy, strcat, strncat, sscanf, strtok, strsep and strlen. It's all about using them at the right place with the right precautions. However, it is neither really possible nor a good advice to disable them. Signed-off-by: Thomas Monjalon <thomas.monjalon@6wind.com> Acked-by: Bruce Richardson <bruce.richardson@intel.com>
Diffstat (limited to 'mk/target')
-rw-r--r--mk/target/generic/rte.vars.mk6
1 files changed, 0 insertions, 6 deletions
diff --git a/mk/target/generic/rte.vars.mk b/mk/target/generic/rte.vars.mk
index b31e426..5d22a6a 100644
--- a/mk/target/generic/rte.vars.mk
+++ b/mk/target/generic/rte.vars.mk
@@ -125,9 +125,6 @@ LDFLAGS += -L$(RTE_OUTPUT)/lib
ifeq ($(BUILDING_RTE_SDK),1)
# building sdk
CFLAGS += -include $(RTE_OUTPUT)/include/rte_config.h
-ifeq ($(CONFIG_RTE_INSECURE_FUNCTION_WARNING),y)
-CFLAGS += -include rte_warnings.h
-endif
else
# if we are building an external application, include SDK's lib and
# includes too
@@ -136,9 +133,6 @@ ifneq ($(wildcard $(RTE_OUTPUT)/include/rte_config.h),)
CFLAGS += -include $(RTE_OUTPUT)/include/rte_config.h
endif
CFLAGS += -include $(RTE_SDK_BIN)/include/rte_config.h
-ifeq ($(CONFIG_RTE_INSECURE_FUNCTION_WARNING),y)
-CFLAGS += -include rte_warnings.h
-endif
LDFLAGS += -L$(RTE_SDK_BIN)/lib
endif