summaryrefslogtreecommitdiffstats
path: root/src/core/gyp_run.pro
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@theqtcompany.com>2016-01-04 09:46:51 +0100
committerAllan Sandfeld Jensen <allan.jensen@theqtcompany.com>2016-01-06 09:56:39 +0000
commitcbba64c5976e69e84c03ddcc2aea260e13307add (patch)
tree455adbcff9508c3ec380702f1649f0137768a111 /src/core/gyp_run.pro
parent60e35b3c459fa949cdb8ed2a6a850a8417f47b71 (diff)
Propagate qmake's warnings-are-errors setting
Disable -Werror when Qt is configured to not use it. Change-Id: Icc4d291cf941fc27b19aa2170796985c20eced8e Task-number: QTBUG-50254 Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
Diffstat (limited to 'src/core/gyp_run.pro')
-rw-r--r--src/core/gyp_run.pro2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/gyp_run.pro b/src/core/gyp_run.pro
index 79e1dca64..dea1a2225 100644
--- a/src/core/gyp_run.pro
+++ b/src/core/gyp_run.pro
@@ -28,6 +28,8 @@ force_debug_info {
else: GYP_CONFIG += release_extra_cflags=-g
}
+!warnings_are_errors: GYP_CONFIG += disable_fatal_linker_warnings=1
+
# Copy this logic from qt_module.prf so that ninja can run according
# to the same rules as the final module linking in core_module.pro.
!host_build:if(win32|mac):!macx-xcode {