summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgregory guy <gregory-tde@laposte.net>2020-09-22 13:37:27 +0200
committergregory guy <gregory-tde@laposte.net>2020-09-27 16:42:51 +0200
commit9afb3f4d91c02d38076e12035188b26e2ac12525 (patch)
tree7a3e21a3a45544b5ffd2fe1db046e280f3aa1a9f
parentb3c22b84ef1f3eb945aa9dee9ee09195518c82b4 (diff)
downloadtqt3-9afb3f4d91c02d38076e12035188b26e2ac12525.tar.gz
tqt3-9afb3f4d91c02d38076e12035188b26e2ac12525.zip
Add hidden visibility symbols definition to the linux-g++-64 and linux-g++-32 mkspecs config files.
Signed-off-by: gregory guy <gregory-tde@laposte.net>
-rw-r--r--mkspecs/linux-g++-32/qmake.conf6
-rw-r--r--mkspecs/linux-g++-64/qmake.conf6
2 files changed, 6 insertions, 6 deletions
diff --git a/mkspecs/linux-g++-32/qmake.conf b/mkspecs/linux-g++-32/qmake.conf
index 9241991f0..cc18f1b11 100644
--- a/mkspecs/linux-g++-32/qmake.conf
+++ b/mkspecs/linux-g++-32/qmake.conf
@@ -1,6 +1,6 @@
#
#
-# qmake configuration for linux-g++
+# qmake configuration for linux-g++-32
#
MAKEFILE_GENERATOR = UNIX
@@ -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 = -m32 -pipe
+QMAKE_CFLAGS = -m32 -pipe -fvisibility=hidden
QMAKE_CFLAGS_DEPS = -M
QMAKE_CFLAGS_WARN_ON = -Wall -W
QMAKE_CFLAGS_WARN_OFF = -w
@@ -27,7 +27,7 @@ QMAKE_CFLAGS_YACC = -Wno-unused -Wno-parentheses
QMAKE_CFLAGS_THREAD = -D_REENTRANT
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
diff --git a/mkspecs/linux-g++-64/qmake.conf b/mkspecs/linux-g++-64/qmake.conf
index 4f982d2f4..05015e547 100644
--- a/mkspecs/linux-g++-64/qmake.conf
+++ b/mkspecs/linux-g++-64/qmake.conf
@@ -1,6 +1,6 @@
#
#
-# qmake configuration for linux-g++
+# qmake configuration for linux-g++-64
#
# mkspec for platforms that have both lib and lib64
# directories, like the AMD Opteron.
@@ -19,7 +19,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
+QMAKE_CFLAGS = -pipe -fvisibility=hidden
QMAKE_CFLAGS_DEPS = -M
QMAKE_CFLAGS_WARN_ON = -Wall -W
QMAKE_CFLAGS_WARN_OFF = -w
@@ -30,7 +30,7 @@ QMAKE_CFLAGS_YACC = -Wno-unused -Wno-parentheses
QMAKE_CFLAGS_THREAD = -D_REENTRANT
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