summaryrefslogtreecommitdiffstats
path: root/mkspecs/macx-g++40
Commit message (Collapse)AuthorAgeFilesLines
* Don't use scopes in mkspecs as configure does not support themTor Arne Vestbø2010-11-021-3/+8
| | | | | | | | | Configure has very basic parsing of mkspecs where it traverses includes, but assumes that the last seen value is the right one. Since this parsing does not take scopes into account we can't use tricks like isEmpty(). Reviewed-by: ossi
* mkspecs: Emit warning when including g++.conf directlyTor Arne Vestbø2010-10-271-2/+2
| | | | | | | | | | | | 86636e0c4ab91bfb6 refactored the mkspecs, but didn't account for people with their own mkspec who would still include g++.conf directly. We now print a warning if this situation is detected, and explain to the user how they can fix their mkspec. For convenience we redirect g++.conf to g++-unix.conf so that people's mkspecs will still work. Reviewed-by: Marius Storm-Olsen <marius.storm-olsen@nokia.com>
* Refactor GCC mkspecs to share more configuration optionsTor Arne Vestbø2010-10-132-56/+4
| | | | | | | | | | | | | | | | | The g++ and llvm mkspecs now share the common parts in common/gcc-base.conf Each top level mkspec includes a platform-specific version of this base, either common/gcc-base-unix.conf or common/gcc-base-mac.conf, and these platform specific bases will include the cross-platform one. The same pattern is then used for the g++ specific configurations, which are split up into common/g++.conf, common/g++-unix.conf and common/g++-mac.conf The qplatformdefs.h for mac was also shared where possible. The test in tests/manual/mkspecs was used to ensure that the final output of all the mkspecs was the same after the refactoring as before. Reviewed-by: ossi
* add TARGET_PLATFORM to qmakespecs with MAKEFILE_GENERATOR = UNIXOswald Buddenhagen2010-02-261-0/+1
| | | | | | | | | | the unix makefile generator can make files for "regular" unixes and macos (the difference being the framework handling). so far, the output choice was hard-wired to the host platform. the previous commit made that soft-configurable, and this one exploits this capability to enable limited cross-building. Reviewed-by: mariusSO
* Dropping windows #define from qplatformheaders for *nix platforms.João Abecasis2010-01-221-2/+0
| | | | | | | QT_STATBUF4TSTAT was meant for the windows-specific _tstat function, taking a _TCHAR* path argument. Reviewed-by: Thiago Macieira
* Refactor common POSIX support out of individual qplatformdefs.hJoão Abecasis2010-01-221-47/+10
| | | | | | POSIX header incorporates previously refactored X/Open LFS extensions. Reviewed-by: Thiago Macieira
* Refactor common C89 support out of individual qplatformdefs.hJoão Abecasis2010-01-221-5/+8
| | | | Reviewed-by: Thiago Macieira
* Update copyright year to 2010Jason McDonald2010-01-061-1/+1
| | | | Reviewed-by: Trust Me
* Introducing QT_MMAPJoão Abecasis2009-10-211-0/+1
| | | | | | | In platforms with Large File Support, we use mmap64, to be able to handle offsets (and therefore files) larger than 2Gb. Reviewed-by: Thiago Macieira
* Add a mkspec for selecting gcc-4.0 on Mac OS X.Morten Sorvig2009-09-104-0/+190
This has one known use case: compiling with the 10.4u SDKi on 10.6.