aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2018-03-28 06:10:50 -0400
committerJack Lloyd <[email protected]>2018-03-28 06:11:08 -0400
commit43fea40ca861505d070dc31854db41065228cbf7 (patch)
tree5119b30e223491c835fa74808bb2fd691709e920 /src
parent5be6acad588462e29379008dd0e3b7d8f178579b (diff)
Add support for XLC symbol visibility attributes [ci skip]
Diffstat (limited to 'src')
-rw-r--r--src/build-data/cc/xlc.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/build-data/cc/xlc.txt b/src/build-data/cc/xlc.txt
index 8762aecd1..fa3bb85f0 100644
--- a/src/build-data/cc/xlc.txt
+++ b/src/build-data/cc/xlc.txt
@@ -6,6 +6,9 @@ optimization_flags "-O2"
lang_flags "-std=c++11"
+visibility_build_flags "-fvisibility=hidden"
+visibility_attribute '__attribute__((visibility("default")))'
+
<isa_flags>
altivec -> "-qaltivec"
</isa_flags>