qt5base-lts/mkspecs
Bradley T. Hughes 42ebe71775 Define __GNUC__ to be 4 on Mac OS X
The QMAKE_COMPILER_DEFINES are used when running moc. In some cases, Qt
checks the __GNUC__ value to determine which version of GCC is being
used. In particular, the qtconcurrentfilter and qtconcurrentmap tests
fail to compile because moc ends up defining QT_NO_CONCURRENT_FILTER and
QT_NO_CONCURRENT_MAP since the condition __GNUC__ < 4 evaluates to true.

The Mac OS X development tools have not used gcc 3.x is a very long
time. The current version ships with llvm-gcc-4.2.1 and clang (which
also masquerades as gcc 4.2.1). Defining __GNUC__=4 makes sure that moc
preprocesses headers in the same way the compiler does.

Change-Id: Ie491d3f5b074fd1a509ffe6755f3308836817b6c
Reviewed-by: João Abecasis <joao.abecasis@nokia.com>
2011-11-14 23:42:17 +01:00
..
aix-g++ Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
aix-g++-64 Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
aix-xlc Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
aix-xlc-64 Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
common Define __GNUC__ to be 4 on Mac OS X 2011-11-14 23:42:17 +01:00
cygwin-g++ Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
darwin-g++ Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
features Add a -force-asserts option to configure 2011-11-11 12:24:48 +01:00
freebsd-g++ Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
freebsd-g++34 Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
freebsd-g++40 Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
freebsd-icc Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
hpux-acc Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
hpux-acc-64 Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
hpux-acc-o64 Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
hpux-g++ Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
hpux-g++-64 Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
hpuxi-acc-32 Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
hpuxi-acc-64 Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
hpuxi-g++-64 Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
hurd-g++ Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
irix-cc Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
irix-cc-64 Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
irix-g++ Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
irix-g++-64 Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
linux-cxx Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
linux-ecc-64 Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
linux-g++ Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
linux-g++-32 Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
linux-g++-64 Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
linux-g++-maemo Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
linux-icc Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
linux-icc-32 Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
linux-icc-64 Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
linux-kcc Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
linux-llvm Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
linux-lsb-g++ Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
linux-pgcc Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
lynxos-g++ Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
macx-g++ Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
macx-g++40 Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
macx-g++42 Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
macx-icc Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
macx-llvm Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
macx-pbuilder Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
macx-xcode Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
macx-xlc Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
modules remove generated files 2011-07-07 11:15:58 +02:00
netbsd-g++ Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
openbsd-g++ Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
sco-cc Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
sco-g++ Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
solaris-cc Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
solaris-cc-64 Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
solaris-cc-64-stlport Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
solaris-cc-stlport Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
solaris-g++ Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
solaris-g++-64 Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
tru64-cxx Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
tru64-g++ Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
unixware-cc Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
unixware-g++ Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
unsupported Merge branch 'refactor' 2011-09-13 08:54:45 +02:00
win32-borland Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
win32-g++ Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
win32-icc Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
win32-msvc2003 Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
win32-msvc2005 Revert "Fixed deployment problems with MSVC 2005 and 2008 SP1" 2011-11-04 12:37:27 +01:00
win32-msvc2008 Revert "Fixed deployment problems with MSVC 2005 and 2008 SP1" 2011-11-04 12:37:27 +01:00
win32-msvc2010 Build Qt with option -Zc:wchar_t under MSVC 2011-06-27 19:09:33 +02:00
wince50standard-armv4i-msvc2005 Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
wince50standard-armv4i-msvc2008 Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
wince50standard-mipsii-msvc2005 Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
wince50standard-mipsii-msvc2008 Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
wince50standard-mipsiv-msvc2005 Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
wince50standard-mipsiv-msvc2008 Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
wince50standard-sh4-msvc2005 Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
wince50standard-sh4-msvc2008 Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
wince50standard-x86-msvc2005 Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
wince50standard-x86-msvc2008 Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
wince60standard-armv4i-msvc2005 Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
wince60standard-x86-msvc2005 Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
wincewm50pocket-msvc2005 Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
wincewm50pocket-msvc2008 Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
wincewm50smart-msvc2005 Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
wincewm50smart-msvc2008 Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
wincewm60professional-msvc2005 Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
wincewm60professional-msvc2008 Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
wincewm60standard-msvc2005 Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
wincewm60standard-msvc2008 Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
wincewm65professional-msvc2005 Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
wincewm65professional-msvc2008 Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00