summaryrefslogtreecommitdiffstats
path: root/build-data/platforms
diff options
context:
space:
mode:
authorNeale Ranns <neale.ranns@cisco.com>2018-01-10 07:27:17 -0800
committerNeale Ranns <nranns@cisco.com>2018-01-10 18:42:43 +0000
commit9a5e61d7753bec9e822f0d518c632e4b6ca7d24d (patch)
tree4b0708ba9e36531c2ad0a61a9fb0f0000e7b2d0a /build-data/platforms
parentfd66de0f3112526194ecf6bd84fb23a42f359007 (diff)
makefile set CXXFLAGS so they are propageted to sub-builds
Change-Id: I55d9953851062f7106c66701d46bcd9073cf1ee4 Signed-off-by: Neale Ranns <neale.ranns@cisco.com> (cherry picked from commit 5ee623e789261552eb9460be10f34793d40b6575)
Diffstat (limited to 'build-data/platforms')
-rw-r--r--build-data/platforms/vpp.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/build-data/platforms/vpp.mk b/build-data/platforms/vpp.mk
index 9f01a656e0b..320609ded2b 100644
--- a/build-data/platforms/vpp.mk
+++ b/build-data/platforms/vpp.mk
@@ -48,10 +48,13 @@ endif
vpp_debug_TAG_CFLAGS = -g -O0 -DCLIB_DEBUG -DFORTIFY_SOURCE=2 \
-fstack-protector-all -fPIC -Werror
+vpp_debug_TAG_CXXFLAGS = -g -O0 -DCLIB_DEBUG -DFORTIFY_SOURCE=2 \
+ -fstack-protector-all -fPIC -Werror
vpp_debug_TAG_LDFLAGS = -g -O0 -DCLIB_DEBUG -DFORTIFY_SOURCE=2 \
-fstack-protector-all -fPIC -Werror
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_clang_TAG_CFLAGS = -g -O2 -DFORTIFY_SOURCE=2 -fstack-protector -fPIC -Werror