# 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
#
# 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