summaryrefslogtreecommitdiffstats
path: root/mkspecs/openbsd-g++/qmake.conf
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2019-01-16 15:15:14 +0100
committerSlávek Banko <slavek.banko@axis.cz>2019-01-16 15:15:14 +0100
commit74ba4297583aeb512f386d3362a9e8e4daae7682 (patch)
tree7d3bc10b038692d53953b32a165def4f2b35760f /mkspecs/openbsd-g++/qmake.conf
parent3e3c5cc147a60ce6d6fdf977a43ddfad8bb355b6 (diff)
downloadtqt3-74ba4297583aeb512f386d3362a9e8e4daae7682.tar.gz
tqt3-74ba4297583aeb512f386d3362a9e8e4daae7682.zip
Enable gcc visibility support for *BSD builds.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'mkspecs/openbsd-g++/qmake.conf')
-rw-r--r--mkspecs/openbsd-g++/qmake.conf2
1 files changed, 1 insertions, 1 deletions
diff --git a/mkspecs/openbsd-g++/qmake.conf b/mkspecs/openbsd-g++/qmake.conf
index 7c3f82b3f..03cfdb34a 100644
--- a/mkspecs/openbsd-g++/qmake.conf
+++ b/mkspecs/openbsd-g++/qmake.conf
@@ -12,7 +12,7 @@ QMAKE_LEX = flex
QMAKE_LEXFLAGS =
QMAKE_YACC = yacc
QMAKE_YACCFLAGS = -d
-QMAKE_CFLAGS = -pipe
+QMAKE_CFLAGS = -pipe -fvisibility=hidden -fvisibility-inlines-hidden
QMAKE_CFLAGS_DEPS = -M
QMAKE_CFLAGS_WARN_ON = -Wall -W
QMAKE_CFLAGS_WARN_OFF = -w