summaryrefslogtreecommitdiff
path: root/external/liborcus
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-03-03 11:56:40 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-03-03 12:23:05 +0100
commitf6977bb87a2eb962e433f85d2e317b8f932f5251 (patch)
tree4e258c8f4585528501b94538622609238afade31 /external/liborcus
parent7c0eb12009496a35c927cd5b2520f9c34d50860b (diff)
Further reduce amount of symbols exported from static orcus library
Following up on 7a4cc197910546d6fb3469806c406bf358ba0168 "Also on Linux do not export symbols from static orcus libraries" that turned out to not be enough to prevent ASan ODR violation reports after f0aa1a78fb209310e8baef53c02f365fca518d11 "For Clang -fsanitize=vptr use -fvisibility-ms-compat, not -fvisibility=hidden." Given that liborcus is only ever linked in as a static archive, it is hopefully OK (intended, even?) to not export any of its symbols. Change-Id: Ib8eb084def1725374747a389065bf8186218786e
Diffstat (limited to 'external/liborcus')
-rw-r--r--external/liborcus/liborcus_0.1.0-dllimport.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/external/liborcus/liborcus_0.1.0-dllimport.patch b/external/liborcus/liborcus_0.1.0-dllimport.patch
index 7c91a7742227..8940155c9308 100644
--- a/external/liborcus/liborcus_0.1.0-dllimport.patch
+++ b/external/liborcus/liborcus_0.1.0-dllimport.patch
@@ -18,7 +18,7 @@
#else
#if __GNUC__ >= 4
- #define ORCUS_DLLPUBLIC __attribute__ ((visibility ("default")))
-+ #define ORCUS_DLLPUBLIC
++ #define ORCUS_DLLPUBLIC __attribute__ ((visibility ("hidden")))
#define ORCUS_DLLLOCAL __attribute__ ((visibility ("hidden")))
#else
#define ORCUS_DLLPUBLIC