qt5base-lts/mkspecs
Tor Arne Vestbø c45595d648 Use tools from the SDK's toolchain instead of the ones in /usr/bin
For Mac OS X we currently specify build tools without an absolute path,
which means we end up using the ones in /usr/bin. This is wrong, we
should be using the tools from the toolchain of the chosen SDK.

For iOS we do specify an absolute path, by resolving the toolchain
path in the iOS makespecs.

To solve the situation on Mac OS X, we move the logic of resolving the
toolchain path to sdk.prf, and share it between OSX and iOS.

For configure we need to duplicate some of the logic from sdk.prf, as
configure pulls out QMAKE_CC and QMAKE_CXX for running some initial
tests and building qmake. The new macSDKify function also solves
the issue of missing sysroot and deployment version in the flags.

Change-Id: Ib1d239c9904cf3ccee5214b313cf6205869a1462
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
2013-03-13 18:40:26 +01:00
..
aix-g++ purge QMAKE_LIBS_OPENGL_QT 2013-02-13 19:42:39 +01:00
aix-g++-64 purge QMAKE_LIBS_OPENGL_QT 2013-02-13 19:42:39 +01:00
aix-xlc purge QMAKE_LIBS_OPENGL_QT 2013-02-13 19:42:39 +01:00
aix-xlc-64 purge QMAKE_LIBS_OPENGL_QT 2013-02-13 19:42:39 +01:00
android-g++ Introducing the Qt Android port 2013-03-05 08:31:23 +01:00
blackberry-armv7le-qcc Blackberry adding some compiler optimizations 2013-02-25 14:13:53 +01:00
blackberry-x86-qcc BlackBerry mkspecs: optimize linker flags 2012-11-26 15:11:59 +01:00
common Use tools from the SDK's toolchain instead of the ones in /usr/bin 2013-03-13 18:40:26 +01:00
cygwin-g++ purge QMAKE_LIBS_OPENGL_QT 2013-02-13 19:42:39 +01:00
darwin-g++ purge QMAKE_LIBS_OPENGL_QT 2013-02-13 19:42:39 +01:00
devices Qnx: Add BlackBerry Playbook config token 2013-03-06 21:50:28 +01:00
features Use tools from the SDK's toolchain instead of the ones in /usr/bin 2013-03-13 18:40:26 +01:00
freebsd-g++ purge QMAKE_LIBS_OPENGL_QT 2013-02-13 19:42:39 +01:00
freebsd-g++46 purge QMAKE_LIBS_OPENGL_QT 2013-02-13 19:42:39 +01:00
freebsd-icc purge QMAKE_LIBS_OPENGL_QT 2013-02-13 19:42:39 +01:00
hpux-acc purge QMAKE_LIBS_OPENGL_QT 2013-02-13 19:42:39 +01:00
hpux-acc-64 purge QMAKE_LIBS_OPENGL_QT 2013-02-13 19:42:39 +01:00
hpux-acc-o64 purge QMAKE_LIBS_OPENGL_QT 2013-02-13 19:42:39 +01:00
hpux-g++ purge QMAKE_LIBS_OPENGL_QT 2013-02-13 19:42:39 +01:00
hpux-g++-64 purge QMAKE_LIBS_OPENGL_QT 2013-02-13 19:42:39 +01:00
hpuxi-acc-32 purge QMAKE_LIBS_OPENGL_QT 2013-02-13 19:42:39 +01:00
hpuxi-acc-64 purge QMAKE_LIBS_OPENGL_QT 2013-02-13 19:42:39 +01:00
hpuxi-g++-64 purge QMAKE_LIBS_OPENGL_QT 2013-02-13 19:42:39 +01:00
hurd-g++ purge QMAKE_LIBS_OPENGL_QT 2013-02-13 19:42:39 +01:00
irix-cc purge QMAKE_LIBS_OPENGL_QT 2013-02-13 19:42:39 +01:00
irix-cc-64 purge QMAKE_LIBS_OPENGL_QT 2013-02-13 19:42:39 +01:00
irix-g++ purge QMAKE_LIBS_OPENGL_QT 2013-02-13 19:42:39 +01:00
irix-g++-64 purge QMAKE_LIBS_OPENGL_QT 2013-02-13 19:42:39 +01:00
linux-arm-gnueabi-g++ Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
linux-clang Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
linux-cxx purge QMAKE_LIBS_OPENGL_QT 2013-02-13 19:42:39 +01:00
linux-g++ Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
linux-g++-32 Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
linux-g++-64 Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
linux-g++-maemo Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
linux-icc purge QMAKE_LIBS_OPENGL_QT 2013-02-13 19:42:39 +01:00
linux-icc-32 Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
linux-icc-64 Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
linux-kcc purge QMAKE_LIBS_OPENGL_QT 2013-02-13 19:42:39 +01:00
linux-llvm Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
linux-lsb-g++ Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
linux-pgcc purge QMAKE_LIBS_OPENGL_QT 2013-02-13 19:42:39 +01:00
lynxos-g++ purge QMAKE_LIBS_OPENGL_QT 2013-02-13 19:42:39 +01:00
macx-clang Rename gcc-base-macx.conf to gcc-base-mac.conf and use it for iOS as well 2013-03-05 18:40:12 +01:00
macx-clang-32 Rename gcc-base-macx.conf to gcc-base-mac.conf and use it for iOS as well 2013-03-05 18:40:12 +01:00
macx-clang-libc++ Rename gcc-base-macx.conf to gcc-base-mac.conf and use it for iOS as well 2013-03-05 18:40:12 +01:00
macx-clang-libc++-32 Rename gcc-base-macx.conf to gcc-base-mac.conf and use it for iOS as well 2013-03-05 18:40:12 +01:00
macx-g++ Rename gcc-base-macx.conf to gcc-base-mac.conf and use it for iOS as well 2013-03-05 18:40:12 +01:00
macx-g++40 Rename gcc-base-macx.conf to gcc-base-mac.conf and use it for iOS as well 2013-03-05 18:40:12 +01:00
macx-g++42 Rename gcc-base-macx.conf to gcc-base-mac.conf and use it for iOS as well 2013-03-05 18:40:12 +01:00
macx-g++-32 Rename gcc-base-macx.conf to gcc-base-mac.conf and use it for iOS as well 2013-03-05 18:40:12 +01:00
macx-icc Rename common/mac.conf to common/macx.conf 2013-03-05 18:40:03 +01:00
macx-llvm Rename gcc-base-macx.conf to gcc-base-mac.conf and use it for iOS as well 2013-03-05 18:40:12 +01:00
macx-xcode Rename gcc-base-macx.conf to gcc-base-mac.conf and use it for iOS as well 2013-03-05 18:40:12 +01:00
modules update readme to current reality 2012-01-27 13:55:27 +01:00
netbsd-g++ purge QMAKE_LIBS_OPENGL_QT 2013-02-13 19:42:39 +01:00
openbsd-g++ purge QMAKE_LIBS_OPENGL_QT 2013-02-13 19:42:39 +01:00
qnx-armv7le-qcc Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
qnx-x86-qcc Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
sco-cc purge QMAKE_LIBS_OPENGL_QT 2013-02-13 19:42:39 +01:00
sco-g++ purge QMAKE_LIBS_OPENGL_QT 2013-02-13 19:42:39 +01:00
solaris-cc purge QMAKE_LIBS_OPENGL_QT 2013-02-13 19:42:39 +01:00
solaris-cc-64 purge QMAKE_LIBS_OPENGL_QT 2013-02-13 19:42:39 +01:00
solaris-cc-64-stlport Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
solaris-cc-stlport Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
solaris-g++ purge QMAKE_LIBS_OPENGL_QT 2013-02-13 19:42:39 +01:00
solaris-g++-64 purge QMAKE_LIBS_OPENGL_QT 2013-02-13 19:42:39 +01:00
tru64-cxx purge QMAKE_LIBS_OPENGL_QT 2013-02-13 19:42:39 +01:00
tru64-g++ purge QMAKE_LIBS_OPENGL_QT 2013-02-13 19:42:39 +01:00
unixware-cc purge QMAKE_LIBS_OPENGL_QT 2013-02-13 19:42:39 +01:00
unixware-g++ purge QMAKE_LIBS_OPENGL_QT 2013-02-13 19:42:39 +01:00
unsupported Don't force disable accessibility 2013-03-12 07:04:16 +01:00
win32-g++ Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
win32-icc purge vestiges of QMAKE_LFLAGS_QT_DLL 2013-02-13 19:42:43 +01:00
win32-msvc2005 Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
win32-msvc2008 Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
win32-msvc2010 Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
win32-msvc2012 Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
wince50standard-armv4i-msvc2005 Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
wince50standard-armv4i-msvc2008 Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
wince50standard-mipsii-msvc2005 Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
wince50standard-mipsii-msvc2008 Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
wince50standard-mipsiv-msvc2005 Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
wince50standard-mipsiv-msvc2008 Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
wince50standard-sh4-msvc2005 Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
wince50standard-sh4-msvc2008 Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
wince50standard-x86-msvc2005 Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
wince50standard-x86-msvc2008 Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
wince60standard-armv4i-msvc2005 Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
wince60standard-x86-msvc2005 Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
wince70embedded-armv4i-msvc2008 Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
wince70embedded-x86-msvc2008 Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
wincewm50pocket-msvc2005 Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
wincewm50pocket-msvc2008 Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
wincewm50smart-msvc2005 Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
wincewm50smart-msvc2008 Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
wincewm60professional-msvc2005 Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
wincewm60professional-msvc2008 Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
wincewm60standard-msvc2005 Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
wincewm60standard-msvc2008 Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
wincewm65professional-msvc2005 Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
wincewm65professional-msvc2008 Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00