From 07d8e30a7e68b57842b9c6097ac035548626e0b2 Mon Sep 17 00:00:00 2001 From: Konstantin Ritt Date: Tue, 20 Nov 2012 18:27:59 +0200 Subject: 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 --- src/tools/bootstrap/bootstrap.pro | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/tools/bootstrap/bootstrap.pro') 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 \ -- cgit v1.2.3