summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/tools/bootstrap/bootstrap.pro3
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 \