summaryrefslogtreecommitdiffstats
path: root/mkspecs/freebsd-clang
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2019-01-16 15:15:14 +0100
committerSlávek Banko <[email protected]>2019-01-16 15:15:14 +0100
commit74ba4297583aeb512f386d3362a9e8e4daae7682 (patch)
tree7d3bc10b038692d53953b32a165def4f2b35760f /mkspecs/freebsd-clang
parent3e3c5cc147a60ce6d6fdf977a43ddfad8bb355b6 (diff)
downloadtqt3-74ba4297583aeb512f386d3362a9e8e4daae7682.tar.gz
tqt3-74ba4297583aeb512f386d3362a9e8e4daae7682.zip
Enable gcc visibility support for *BSD builds.
Signed-off-by: Slávek Banko <[email protected]>
Diffstat (limited to 'mkspecs/freebsd-clang')
-rw-r--r--mkspecs/freebsd-clang/qmake.conf2
1 files changed, 1 insertions, 1 deletions
diff --git a/mkspecs/freebsd-clang/qmake.conf b/mkspecs/freebsd-clang/qmake.conf
index bf8286a0d..4ad582ae6 100644
--- a/mkspecs/freebsd-clang/qmake.conf
+++ b/mkspecs/freebsd-clang/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