summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenoît Ganne <bganne@cisco.com>2019-06-11 16:56:41 +0200
committerAndrew Yourtchenko <ayourtch@gmail.com>2019-10-29 09:53:39 +0000
commitb4c5f16889bccfce31b6007d61e7f5670179f645 (patch)
tree8ced1adb05ea0c732a3e73e5db5693b74bae8822
parent16a17507f418c89ac0aacaf19d83dd07dee42d21 (diff)
build: add missing ldflags to exe and shared
Type: fix Change-Id: I859bc6ebc574ab09fd70b45f8c911769d00e7acf Signed-off-by: Benoît Ganne <bganne@cisco.com> (cherry picked from commit 534de8b2a77cc2479a3f23cdb6df3d43cead06a6)
-rw-r--r--build-data/packages/vpp.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/build-data/packages/vpp.mk b/build-data/packages/vpp.mk
index 8f2d2e0bb88..1b9e8a71e53 100644
--- a/build-data/packages/vpp.mk
+++ b/build-data/packages/vpp.mk
@@ -27,6 +27,8 @@ vpp_cmake_args ?=
vpp_cmake_args += -DCMAKE_INSTALL_PREFIX:PATH=$(PACKAGE_INSTALL_DIR)
vpp_cmake_args += -DCMAKE_C_FLAGS="$($(TAG)_TAG_CFLAGS)"
vpp_cmake_args += -DCMAKE_LINKER_FLAGS="$($(TAG)_TAG_LDFLAGS)"
+vpp_cmake_args += -DCMAKE_EXE_LINKER_FLAGS="$($(TAG)_TAG_LDFLAGS)"
+vpp_cmake_args += -DCMAKE_SHARED_LINKER_FLAGS="$($(TAG)_TAG_LDFLAGS)"
vpp_cmake_args += -DCMAKE_PREFIX_PATH:PATH="$(vpp_cmake_prefix_path)"
ifeq ("$(V)","1")
vpp_cmake_args += -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON