[dpdk-dev] [PATCH] mk: --no-as-needed by default for linux exec-env
Sergio Gonzalez Monroy
sergio.gonzalez.monroy at intel.com
Thu Oct 30 11:57:42 CET 2014
Ubuntu/Debian toolchain passes --as-needed flag to the linker by default.
Add --no-as-needed flag by default in linuxapp exec-env to ensure correct
linking.
Signed-off-by: Sergio Gonzalez Monroy <sergio.gonzalez.monroy at intel.com>
---
mk/exec-env/linuxapp/rte.vars.mk | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/mk/exec-env/linuxapp/rte.vars.mk b/mk/exec-env/linuxapp/rte.vars.mk
index d4808c2..79ddd5f 100644
--- a/mk/exec-env/linuxapp/rte.vars.mk
+++ b/mk/exec-env/linuxapp/rte.vars.mk
@@ -45,7 +45,7 @@ else
EXECENV_CFLAGS = -pthread
endif
-EXECENV_LDFLAGS =
+EXECENV_LDFLAGS = --no-as-needed
EXECENV_LDLIBS = -lrt -lm
EXECENV_ASFLAGS =
--
1.9.3
More information about the dev
mailing list