From d1812d023bc483775335424afd800f9471fd0966 Mon Sep 17 00:00:00 2001 From: Neale Ranns Date: Fri, 1 Jun 2018 00:03:17 -0400 Subject: Enable Position Independent Executable for production VPP Change-Id: I0f81423b854be1dc456df696416e5f3747393208 Signed-off-by: Neale Ranns --- build-data/platforms/vpp.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit 1.2.3-korg