aboutsummaryrefslogtreecommitdiffstats
path: root/build-data
diff options
context:
space:
mode:
authorNeale Ranns <nranns@cisco.com>2018-06-01 00:03:17 -0400
committerDamjan Marion <dmarion@me.com>2018-06-04 08:01:24 +0000
commitd1812d023bc483775335424afd800f9471fd0966 (patch)
tree4a5b47843acb418447e9914de62d8074d2237d5b /build-data
parent65165072d49c5a6fdb4b29bbed30d633bdf051c8 (diff)
Enable Position Independent Executable for production VPP
Change-Id: I0f81423b854be1dc456df696416e5f3747393208 Signed-off-by: Neale Ranns <nranns@cisco.com>
Diffstat (limited to 'build-data')
-rw-r--r--build-data/platforms/vpp.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/build-data/platforms/vpp.mk b/build-data/platforms/vpp.mk
index c1729723624..6b795b7923a 100644
--- a/build-data/platforms/vpp.mk
+++ b/build-data/platforms/vpp.mk
@@ -53,7 +53,7 @@ vpp_debug_TAG_LDFLAGS = -g -O0 -DCLIB_DEBUG -DFORTIFY_SOURCE=2 \
vpp_TAG_CFLAGS = -g -O2 -DFORTIFY_SOURCE=2 -fstack-protector -fPIC -Werror
vpp_TAG_CXXFLAGS = -g -O2 -DFORTIFY_SOURCE=2 -fstack-protector -fPIC -Werror
-vpp_TAG_LDFLAGS = -g -O2 -DFORTIFY_SOURCE=2 -fstack-protector -fPIC -Werror
+vpp_TAG_LDFLAGS = -g -O2 -DFORTIFY_SOURCE=2 -fstack-protector -fPIC -Werror -pie -Wl,-z,now
vpp_clang_TAG_CFLAGS = -g -O2 -DFORTIFY_SOURCE=2 -fstack-protector -fPIC -Werror
vpp_clang_TAG_LDFLAGS = -g -O2 -DFORTIFY_SOURCE=2 -fstack-protector -fPIC -Werror