summaryrefslogtreecommitdiff
path: root/bridges
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-09-04 15:26:58 +0200
committerStephan Bergmann <sbergman@redhat.com>2014-09-04 15:26:58 +0200
commit8d12e4ec8b843d59661a12a7a92bfec7e4473e0f (patch)
tree8f570a08b1bf0e933b1cab47d22a6c4c8c6ac1a4 /bridges
parent52821cd8dc62a2287153dcd413377539bb070ae0 (diff)
No -fstack-protect-strong for gcc3_linux_aarch64/cpp2uno.cxx vtableSlotCall
Change-Id: I52efda594d87c37c2d38c61b54f1eebcc76cdfce
Diffstat (limited to 'bridges')
-rw-r--r--bridges/Library_cpp_uno.mk9
1 files changed, 8 insertions, 1 deletions
diff --git a/bridges/Library_cpp_uno.mk b/bridges/Library_cpp_uno.mk
index 33a5c00e0c1f..c2e303d3bf38 100644
--- a/bridges/Library_cpp_uno.mk
+++ b/bridges/Library_cpp_uno.mk
@@ -38,7 +38,14 @@ endif
else ifneq (,$(filter ANDROID-AARCH64 LINUX-AARCH64,$(OS)-$(CPUNAME)))
bridges_SELECTED_BRIDGE := gcc3_linux_aarch64
-bridge_exception_objects := abi callvirtualfunction cpp2uno uno2cpp
+bridge_exception_objects := abi callvirtualfunction uno2cpp
+
+$(eval $(call gb_Library_add_cxxobjects,$(gb_CPPU_ENV)_uno, \
+ bridges/source/cpp_uno/$(bridges_SELECTED_BRIDGE)/cpp2uno, \
+ $(subst -fstack-protector-strong,-fstack-protector, \
+ $(gb_LinkTarget_EXCEPTIONFLAGS) \
+ $(call gb_LinkTarget__get_cxxflags,$(gb_CPPU_ENV)_uno)) \
+))
else ifeq ($(OS)-$(CPUNAME),LINUX-AXP)