summaryrefslogtreecommitdiffstats
path: root/mkspecs/solaris-cc
diff options
context:
space:
mode:
authorDarin Broady <dbroady1@yahoo.com>2010-01-22 14:12:02 (GMT)
committerThiago Macieira <thiago.macieira@nokia.com>2010-01-22 14:12:02 (GMT)
commit1ad847de17cb0e5f53bd5c62933ca887d9cdf7ef (patch)
tree22dd11174e27a61bc956d7aecb85e8ba4fbd4eff /mkspecs/solaris-cc
parenta259511a2b76ddee2e1199802c66295b964c394e (diff)
downloadQt-1ad847de17cb0e5f53bd5c62933ca887d9cdf7ef.zip
Qt-1ad847de17cb0e5f53bd5c62933ca887d9cdf7ef.tar.gz
Qt-1ad847de17cb0e5f53bd5c62933ca887d9cdf7ef.tar.bz2
Add the ability for the SunStudio 8+ compilers to do
ELF symbol visibility. Merge-request: 433 Reviewed-by: Thiago Macieira <thiago.macieira@nokia.com>
Diffstat (limited to 'mkspecs/solaris-cc')
-rw-r--r--mkspecs/solaris-cc/qmake.conf2
1 files changed, 2 insertions, 0 deletions
diff --git a/mkspecs/solaris-cc/qmake.conf b/mkspecs/solaris-cc/qmake.conf
index ad430d1..354b83c 100644
--- a/mkspecs/solaris-cc/qmake.conf
+++ b/mkspecs/solaris-cc/qmake.conf
@@ -24,6 +24,7 @@ QMAKE_CFLAGS_SHLIB = -KPIC
QMAKE_CFLAGS_STATIC_LIB = $$QMAKE_CFLAGS_SHLIB
QMAKE_CFLAGS_YACC =
QMAKE_CFLAGS_THREAD = -mt
+QMAKE_CFLAGS_HIDESYMS = -xldscope=hidden
QMAKE_CXX = CC
QMAKE_CXXFLAGS = $$QMAKE_CFLAGS
@@ -36,6 +37,7 @@ QMAKE_CXXFLAGS_SHLIB = $$QMAKE_CFLAGS_SHLIB
QMAKE_CXXFLAGS_STATIC_LIB = $$QMAKE_CFLAGS_STATIC_LIB
QMAKE_CXXFLAGS_YACC = $$QMAKE_CFLAGS_YACC
QMAKE_CXXFLAGS_THREAD = $$QMAKE_CFLAGS_THREAD
+QMAKE_CXXFLAGS_HIDESYMS = $$QMAKE_CFLAGS_HIDESYMS
QMAKE_INCDIR = /usr/sfw/include
QMAKE_LIBDIR = /usr/sfw/lib