summaryrefslogtreecommitdiffstats
path: root/mkspecs
diff options
context:
space:
mode:
authorRalf Nolden <nolden@kde.org>2016-06-07 11:02:10 +0200
committerRalf Nolden <nolden@kde.org>2016-06-08 04:11:03 +0000
commit4ea95609ccd9694dac466cae689412024c87e56e (patch)
tree73d233c83ebb21fe149e9c770533e65e8700f7f6 /mkspecs
parent1b22aeda5bfac43ac37d835adb60eeb3cc01aab6 (diff)
FreeBSD: remove -D_THREAD_SAFE from pthread usage
On FreeBSD, the gcc manpages until Release 5.1 mentioned using the -D_THREAD_SAFE define when using -pthread. This has been obsoleted and the gcc manpages from Release 5.2 onwards have this removed. Now we finally remove this historic relic here, too. Change-Id: I00a5b688c56f46b938c0806fb44b72d5afe5079e Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com> Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'mkspecs')
-rw-r--r--mkspecs/freebsd-clang/qmake.conf2
-rw-r--r--mkspecs/freebsd-g++/qmake.conf2
2 files changed, 2 insertions, 2 deletions
diff --git a/mkspecs/freebsd-clang/qmake.conf b/mkspecs/freebsd-clang/qmake.conf
index 7f18bbb721..0d6401f2f5 100644
--- a/mkspecs/freebsd-clang/qmake.conf
+++ b/mkspecs/freebsd-clang/qmake.conf
@@ -7,7 +7,7 @@ QMAKE_PLATFORM = freebsd bsd
include(../common/unix.conf)
-QMAKE_CFLAGS_THREAD = -pthread -D_THREAD_SAFE
+QMAKE_CFLAGS_THREAD = -pthread
QMAKE_CXXFLAGS_THREAD = $$QMAKE_CFLAGS_THREAD
diff --git a/mkspecs/freebsd-g++/qmake.conf b/mkspecs/freebsd-g++/qmake.conf
index 282b6bdfa7..56529389f6 100644
--- a/mkspecs/freebsd-g++/qmake.conf
+++ b/mkspecs/freebsd-g++/qmake.conf
@@ -7,7 +7,7 @@ QMAKE_PLATFORM = freebsd bsd
include(../common/unix.conf)
-QMAKE_CFLAGS_THREAD = -pthread -D_THREAD_SAFE
+QMAKE_CFLAGS_THREAD = -pthread
QMAKE_CXXFLAGS_THREAD = $$QMAKE_CFLAGS_THREAD