summaryrefslogtreecommitdiffstats
path: root/mkspecs/linux-g++/qmake.conf
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2012-01-08 21:59:07 -0600
committerTimothy Pearson <[email protected]>2012-01-08 21:59:07 -0600
commit2ae2f3f719ab9316eb2addef265c78ab81327516 (patch)
tree58511ab39204ff6a35f45f892cf3510c9aba0174 /mkspecs/linux-g++/qmake.conf
parente9c23befee596e80f840ff9a1a1a3b849972f211 (diff)
downloadtqt3-2ae2f3f719ab9316eb2addef265c78ab81327516.tar.gz
tqt3-2ae2f3f719ab9316eb2addef265c78ab81327516.zip
Update tqt3 to support gcc visibility
This closes Bug 696
Diffstat (limited to 'mkspecs/linux-g++/qmake.conf')
-rw-r--r--mkspecs/linux-g++/qmake.conf2
1 files changed, 1 insertions, 1 deletions
diff --git a/mkspecs/linux-g++/qmake.conf b/mkspecs/linux-g++/qmake.conf
index cac70f782..037bcd968 100644
--- a/mkspecs/linux-g++/qmake.conf
+++ b/mkspecs/linux-g++/qmake.conf
@@ -16,7 +16,7 @@ QMAKE_YACCFLAGS = -d
QMAKE_YACCFLAGS_MANGLE = -p $base -b $base
QMAKE_YACC_HEADER = $base.tab.h
QMAKE_YACC_SOURCE = $base.tab.c
-QMAKE_CFLAGS = -pipe -g
+QMAKE_CFLAGS = -pipe -g -fvisibility=hidden -fvisibility-inlines-hidden
QMAKE_CFLAGS_DEPS = -M
QMAKE_CFLAGS_WARN_ON = -Wall -W
QMAKE_CFLAGS_WARN_OFF = -w