13 lines
381 B
Diff
13 lines
381 B
Diff
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
|