aboutsummaryrefslogtreecommitdiffstats
path: root/src/build-data/cc/xlc.txt
diff options
context:
space:
mode:
Diffstat (limited to 'src/build-data/cc/xlc.txt')
-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>