diff options
author | OBATA Akio <[email protected]> | 2020-08-04 18:52:10 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2020-08-06 18:00:47 +0900 |
commit | defac9d8a83feb47d3dcfbc688e96f35d4ec28cd (patch) | |
tree | 73d3b56b61661a22a4d11e3f9d08b9a88dd56081 /mkspecs/netbsd-g++ | |
parent | 48a9cf9a3c2866db8a68fd1ac6cce5627c507386 (diff) | |
download | tqt3-defac9d8a83feb47d3dcfbc688e96f35d4ec28cd.tar.gz tqt3-defac9d8a83feb47d3dcfbc688e96f35d4ec28cd.zip |
Fix to set -fvisibility-inlines-hidden flag only for C++ with g++
With GCC, it is valid for C++/ObjC++ but not for C.
Signed-off-by: OBATA Akio <[email protected]>
Diffstat (limited to 'mkspecs/netbsd-g++')
-rw-r--r-- | mkspecs/netbsd-g++/qmake.conf | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mkspecs/netbsd-g++/qmake.conf b/mkspecs/netbsd-g++/qmake.conf index 178509bad..985455998 100644 --- a/mkspecs/netbsd-g++/qmake.conf +++ b/mkspecs/netbsd-g++/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 QMAKE_CXX = g++ -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 |