X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=ceph%2Fsrc%2Fboost%2Ftools%2Fbuild%2Fsrc%2Ftools%2Fxlcpp.jam;h=6211f5f152cd26669bf9804d37bb55ab738f3415;hb=92f5a8d42d07f9929ae4fa7e01342fe8d96808a8;hp=0d6e80cf5600e2292fe035f9a0d2cfb5cdcd6e33;hpb=a0324939f9d0e1905d5df8f57442f09dc70af83d;p=ceph.git
diff --git a/ceph/src/boost/tools/build/src/tools/xlcpp.jam b/ceph/src/boost/tools/build/src/tools/xlcpp.jam
index 0d6e80cf5..6211f5f15 100644
--- a/ceph/src/boost/tools/build/src/tools/xlcpp.jam
+++ b/ceph/src/boost/tools/build/src/tools/xlcpp.jam
@@ -81,7 +81,7 @@ if [ os.name ] = AIX
# searched during load-time. Note that the AIX linker does not have an
# -soname equivalent, this is as close as it gets.
#
- # The above options are definately for AIX 5.x, and most likely also for
+ # The above options are definitely for AIX 5.x, and most likely also for
# AIX 4.x and AIX 6.x. For details about the AIX linker see:
# http://download.boulder.ibm.com/ibmdl/pub/software/dw/aix/es-aix_ll.pdf
#
@@ -95,6 +95,10 @@ else
# Linux PPC
flags xlcpp.compile CFLAGS shared : -qpic=large ;
flags xlcpp FINDLIBS : rt ;
+
+ flags xlcpp.compile OPTIONS hidden : -qvisibility=hidden ;
+ flags xlcpp.compile OPTIONS protected : -qvisibility=protected ;
+ flags xlcpp.compile OPTIONS global : -qvisibility=default ;
}
# Profiling