From: Damjan Marion Date: Fri, 1 Feb 2019 13:59:39 +0000 (+0100) Subject: Remove -z now from LDFLAGS X-Git-Tag: v19.04-rc1~543 X-Git-Url: https://gerrit.fd.io/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F38%2F17238%2F1;p=vpp.git Remove -z now from LDFLAGS It significantly increases link time, and slows down VPP startup. Change-Id: I200448212a3254b1292d4e52d2751214240e2bc4 Signed-off-by: Damjan Marion --- diff --git a/build-data/platforms/vpp.mk b/build-data/platforms/vpp.mk index 10184964e23..0217fb7d342 100644 --- a/build-data/platforms/vpp.mk +++ b/build-data/platforms/vpp.mk @@ -31,7 +31,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 -pie -Wl,-z,now +vpp_TAG_LDFLAGS = -g -O2 -DFORTIFY_SOURCE=2 -fstack-protector -fPIC -Werror -pie vpp_clang_TAG_CFLAGS = -g -O2 -DFORTIFY_SOURCE=2 -fstack-protector -fPIC -Werror vpp_clang_TAG_CXXFLAGS = -g -O2 -DFORTIFY_SOURCE=2 -fstack-protector -fPIC -Werror