From cbba64c5976e69e84c03ddcc2aea260e13307add Mon Sep 17 00:00:00 2001 From: Allan Sandfeld Jensen Date: Mon, 4 Jan 2016 09:46:51 +0100 Subject: 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 --- src/core/gyp_run.pro | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/core/gyp_run.pro') 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 { -- cgit v1.2.3