diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-01-26 15:06:42 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-01-26 15:17:30 +0100 |
commit | 44c673b978ef958ae85754f8cf5045182c511eb5 (patch) | |
tree | 682e2bf093ec32a6040d958f225a5c580a195ea1 /external | |
parent | b3a7e32e8d92bb2ef5b9ec4ec7149518cf3741ba (diff) |
external/icu: Visible function type RTTI for Clang -fsanitize=function
Change-Id: Ia972d7364b5acfbafd9df5b07f4fb8bd6efbab5f
Diffstat (limited to 'external')
-rw-r--r-- | external/icu/UnpackedTarball_icu.mk | 1 | ||||
-rw-r--r-- | external/icu/rtti.patch.0 | 11 |
2 files changed, 12 insertions, 0 deletions
diff --git a/external/icu/UnpackedTarball_icu.mk b/external/icu/UnpackedTarball_icu.mk index e0d18b5d9ad0..37404508a39b 100644 --- a/external/icu/UnpackedTarball_icu.mk +++ b/external/icu/UnpackedTarball_icu.mk @@ -24,6 +24,7 @@ $(eval $(call gb_UnpackedTarball_add_patches,icu,\ external/icu/icu4c-icu11100.patch.1 \ external/icu/icu4c-scriptrun.patch \ external/icu/icu4c-icu11451.patch.1 \ + external/icu/rtti.patch.0 \ )) # vim: set noet sw=4 ts=4: diff --git a/external/icu/rtti.patch.0 b/external/icu/rtti.patch.0 new file mode 100644 index 000000000000..2af9622ec9ad --- /dev/null +++ b/external/icu/rtti.patch.0 @@ -0,0 +1,11 @@ +--- source/config/mh-linux ++++ source/config/mh-linux +@@ -35,7 +35,7 @@ + #SH# LD_SONAME= + + ## Shared library options +-LD_SOOPTIONS= -Wl,-Bsymbolic ++LD_SOOPTIONS= -Wl,-Bsymbolic-functions + + ## Shared object suffix + SO = so |