dpdk/app-pie.patch

13 lines
381 B
Diff
Raw Normal View History

2018-09-27 18:25:08 +00:00
diff -up ./mk/rte.app.mk.pie ./mk/rte.app.mk
--- ./mk/rte.app.mk.pie 2018-09-24 16:03:22.504850668 -0400
+++ ./mk/rte.app.mk 2018-09-24 16:03:30.898814226 -0400
@@ -50,7 +50,7 @@ LDSCRIPT = $(RTE_LDSCRIPT)
endif
# Link only the libraries used in the application
-LDFLAGS += --as-needed
+LDFLAGS += --as-needed -pie
# default path for libs
_LDLIBS-y += -L$(RTE_SDK_BIN)/lib