summaryrefslogtreecommitdiffstats
path: root/mkspecs/freebsd-clang/qmake.conf
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2020-08-06 18:00:00 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2020-08-06 18:00:48 +0900
commitfa43c29899d22fa43c69bab7548ea18ede87e279 (patch)
treeb05c855930eecf45bdba3ab8b2b2784d8adc03d9 /mkspecs/freebsd-clang/qmake.conf
parentdefac9d8a83feb47d3dcfbc688e96f35d4ec28cd (diff)
downloadtqt3-fa43c29899d22fa43c69bab7548ea18ede87e279.tar.gz
tqt3-fa43c29899d22fa43c69bab7548ea18ede87e279.zip
Fix to set -fvisibility-inlines-hidden flag only for C++ with g++ (completion of previous commit)
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'mkspecs/freebsd-clang/qmake.conf')
-rw-r--r--mkspecs/freebsd-clang/qmake.conf4
1 files changed, 2 insertions, 2 deletions
diff --git a/mkspecs/freebsd-clang/qmake.conf b/mkspecs/freebsd-clang/qmake.conf
index 4ad582ae6..a3a2da461 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 -fvisibility=hidden -fvisibility-inlines-hidden
+QMAKE_CFLAGS = -pipe -fvisibility=hidden
QMAKE_CFLAGS_DEPS = -M
QMAKE_CFLAGS_WARN_ON = -Wall -W
QMAKE_CFLAGS_WARN_OFF = -w
@@ -23,7 +23,7 @@ QMAKE_CFLAGS_YACC = -Wno-unused -Wno-parentheses
QMAKE_CFLAGS_THREAD = -pthread -D_THREAD_SAFE
QMAKE_CXX = clang++
-QMAKE_CXXFLAGS = $$QMAKE_CFLAGS
+QMAKE_CXXFLAGS = $$QMAKE_CFLAGS -fvisibility-inlines-hidden
QMAKE_CXXFLAGS_DEPS = $$QMAKE_CFLAGS_DEPS
QMAKE_CXXFLAGS_WARN_ON = $$QMAKE_CFLAGS_WARN_ON
QMAKE_CXXFLAGS_WARN_OFF = $$QMAKE_CFLAGS_WARN_OFF