summaryrefslogtreecommitdiffstats
path: root/mk/target/generic/rte.vars.mk
diff options
context:
space:
mode:
Diffstat (limited to 'mk/target/generic/rte.vars.mk')
-rw-r--r--mk/target/generic/rte.vars.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/mk/target/generic/rte.vars.mk b/mk/target/generic/rte.vars.mk
index 98085cd3..dd149acc 100644
--- a/mk/target/generic/rte.vars.mk
+++ b/mk/target/generic/rte.vars.mk
@@ -108,6 +108,9 @@ CFLAGS += -include $(RTE_SDK_BIN)/include/rte_config.h
LDFLAGS += -L$(RTE_SDK_BIN)/lib
endif
+# always define _GNU_SOURCE
+CFLAGS += -D_GNU_SOURCE
+
export CFLAGS
export LDFLAGS