summaryrefslogtreecommitdiffstats
path: root/mkspecs
diff options
context:
space:
mode:
authorDenis Kozadaev <denis@dilos.org>2020-02-15 16:27:08 +0300
committerDenis Kozadaev <denis@dilos.org>2020-02-15 16:27:08 +0300
commit277646d8abf9312400a7d4d2bcd4e3790554892c (patch)
tree63455e17267a7c383537ddb040c5079984eaee46 /mkspecs
parent5359049f75f107d7be3f5a1b468a37e5f2510657 (diff)
downloadtqt3-277646d8abf9312400a7d4d2bcd4e3790554892c.tar.gz
tqt3-277646d8abf9312400a7d4d2bcd4e3790554892c.zip
DilOS: add compiler visibility
Signed-off-by: Denis Kozadaev <denis@dilos.org>
Diffstat (limited to 'mkspecs')
-rw-r--r--mkspecs/dilos-g++/qmake.conf2
1 files changed, 1 insertions, 1 deletions
diff --git a/mkspecs/dilos-g++/qmake.conf b/mkspecs/dilos-g++/qmake.conf
index d7d634eb5..bab350f0c 100644
--- a/mkspecs/dilos-g++/qmake.conf
+++ b/mkspecs/dilos-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 -D__dilos__ -D__EXTENSIONS__
+QMAKE_CFLAGS = -pipe -D__dilos__ -D__EXTENSIONS__ -fvisibility=hidden -fvisibility-inlines-hidden
QMAKE_CFLAGS_DEPS = -M
QMAKE_CFLAGS_WARN_ON = -Wall -W
QMAKE_CFLAGS_WARN_OFF = -w