diff options
author | Konstantin Ritt <ritt.ks@gmail.com> | 2012-11-20 18:27:59 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2012-11-21 22:25:57 +0100 |
commit | 07d8e30a7e68b57842b9c6097ac035548626e0b2 (patch) | |
tree | 6e7ccd32e33ef7ce4564f3aee4c271a48689fef7 /src/tools | |
parent | 18260ed21240fe4c2d1892def80353448096e54c (diff) |
Unbreak the bootstrap lib build on MinGW
With -std=c++0x, MinGW headers doesn't declare some common functions
we're using in qglobal.cpp.
Change-Id: I0ba68ee73b1099c8591a578f06f58db316631e8e
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/tools')
-rw-r--r-- | src/tools/bootstrap/bootstrap.pro | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/tools/bootstrap/bootstrap.pro b/src/tools/bootstrap/bootstrap.pro index cfbe9d6af5..1f630e3f68 100644 --- a/src/tools/bootstrap/bootstrap.pro +++ b/src/tools/bootstrap/bootstrap.pro @@ -5,6 +5,9 @@ QT = CONFIG += no_module_headers internal_module !build_pass: CONFIG += release +# otherwise mingw headers do not declare common functions like putenv +win32-g++*:QMAKE_CXXFLAGS_CXX11 = -std=gnu++0x + MODULE_DEFINES = \ QT_BOOTSTRAPPED \ QT_LITE_UNICODE \ |