summaryrefslogtreecommitdiffstats
path: root/build-data/packages
diff options
context:
space:
mode:
authorBenoît Ganne <bganne@cisco.com>2019-06-11 16:56:41 +0200
committerDamjan Marion <dmarion@me.com>2019-10-22 08:15:01 +0000
commit534de8b2a77cc2479a3f23cdb6df3d43cead06a6 (patch)
tree922b54ecb0f787e5f3506b4be2508b7c57cc5170 /build-data/packages
parent8a4bfdae87286ed281df855c58b669eb6b76aaf8 (diff)
build: add missing ldflags to exe and shared
Type: fix Change-Id: I859bc6ebc574ab09fd70b45f8c911769d00e7acf Signed-off-by: Benoît Ganne <bganne@cisco.com>
Diffstat (limited to 'build-data/packages')
-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