]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/tools/build/src/tools/xlcpp.jam
import new upstream nautilus stable release 14.2.8
[ceph.git] / ceph / src / boost / tools / build / src / tools / xlcpp.jam
index 0d6e80cf5600e2292fe035f9a0d2cfb5cdcd6e33..6211f5f152cd26669bf9804d37bb55ab738f3415 100644 (file)
@@ -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 <link>shared : -qpic=large ;
     flags xlcpp FINDLIBS : rt ;
+
+    flags xlcpp.compile OPTIONS <local-visibility>hidden : -qvisibility=hidden ;
+    flags xlcpp.compile OPTIONS <local-visibility>protected : -qvisibility=protected ;
+    flags xlcpp.compile OPTIONS <local-visibility>global : -qvisibility=default ;
 }
 
 # Profiling