summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDenis Kozadaev <[email protected]>2020-02-15 16:27:08 +0300
committerMichele Calgaro <[email protected]>2020-02-15 23:59:09 +0900
commit7ffca6e7f74b4f3ffc6871793071d61174185057 (patch)
tree708275808e2720068898fc075b4f8bdbc817ae36
parentce9614515fa863c4a66870f5288e417eceaf9106 (diff)
downloadtqt3-7ffca6e7f74b4f3ffc6871793071d61174185057.tar.gz
tqt3-7ffca6e7f74b4f3ffc6871793071d61174185057.zip
DilOS: add compiler visibility
Signed-off-by: Denis Kozadaev <[email protected]> (cherry picked from commit 277646d8abf9312400a7d4d2bcd4e3790554892c)
-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 3086f5ec2..6d494d19c 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