diff options
author | Ralf Nolden <nolden@kde.org> | 2016-05-20 21:50:36 +0200 |
---|---|---|
committer | Ralf Nolden <nolden@kde.org> | 2016-05-23 09:51:02 +0000 |
commit | e28d31dbfaca7f870240fe414ccfedceb16731d7 (patch) | |
tree | fab32e608a6feeaa27ffa8d265be0acaea32b082 /mkspecs | |
parent | eda29451e958cb4981c254d48a20125988a04a45 (diff) |
Move freebsd-g++ mkspecs back for supported FreeBSD 9.3 and up
FreeBSD 9.3 is still supported and uses gcc as the default
compiler, therefore FreeBSD ports require patching the mkspecs
back. To avoid patching, move the mkspecs back to the right
place and adapt the path in the qmake.conf/qplatformdefs.h
[ChangeLog][FreeBSD] The freebsd-g++ mkspec was moved back and no
longer requires the "unsupported/" prefix, matching the FreeBSD
ports tree, as FreeBSD 9.3 still defaults to using GCC. Users of
GCC that did not previously use the ports patch will need to adapt their
build scripts and drop the "unsupported/" prefix.
Change-Id: Ideda4a33cccf5381000f6f50b6ae92a5c24ba9d4
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'mkspecs')
-rw-r--r-- | mkspecs/freebsd-g++/qmake.conf (renamed from mkspecs/unsupported/freebsd-g++/qmake.conf) | 6 | ||||
-rw-r--r-- | mkspecs/freebsd-g++/qplatformdefs.h (renamed from mkspecs/unsupported/freebsd-g++/qplatformdefs.h) | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/mkspecs/unsupported/freebsd-g++/qmake.conf b/mkspecs/freebsd-g++/qmake.conf index 527a94870c..282b6bdfa7 100644 --- a/mkspecs/unsupported/freebsd-g++/qmake.conf +++ b/mkspecs/freebsd-g++/qmake.conf @@ -5,7 +5,7 @@ MAKEFILE_GENERATOR = UNIX QMAKE_PLATFORM = freebsd bsd -include(../../common/unix.conf) +include(../common/unix.conf) QMAKE_CFLAGS_THREAD = -pthread -D_THREAD_SAFE @@ -29,6 +29,6 @@ QMAKE_OBJCOPY = objcopy QMAKE_NM = nm -P QMAKE_RANLIB = -include(../../common/gcc-base-unix.conf) -include(../../common/g++-unix.conf) +include(../common/gcc-base-unix.conf) +include(../common/g++-unix.conf) load(qt_config) diff --git a/mkspecs/unsupported/freebsd-g++/qplatformdefs.h b/mkspecs/freebsd-g++/qplatformdefs.h index b52be38b4e..aa51e08990 100644 --- a/mkspecs/unsupported/freebsd-g++/qplatformdefs.h +++ b/mkspecs/freebsd-g++/qplatformdefs.h @@ -31,4 +31,4 @@ ** ****************************************************************************/ -#include "../../freebsd-clang/qplatformdefs.h" +#include "../freebsd-clang/qplatformdefs.h" |