don't apply warning options to host builds
the host compiler's version is not determined, so we cannot make any assumptions about its capabilities. Task-number: QTBUG-53017 Change-Id: I939fd7402b5daac73f2195b9d8763b9008bc7ea4 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com> Reviewed-by: Rolf Eike Beer <eb@emlix.com>
This commit is contained in:
parent
91f536dd71
commit
c55bdc271f
@ -44,6 +44,10 @@ contains(TEMPLATE, .*lib) {
|
|||||||
QMAKE_PRL_INSTALL_REPLACE += lib_replace
|
QMAKE_PRL_INSTALL_REPLACE += lib_replace
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# The remainder of this file must not apply to bootstrapped tools,
|
||||||
|
# as the host compiler's version and capabilities are not checked.
|
||||||
|
host_build:force_bootstrap: return()
|
||||||
|
|
||||||
warnings_are_errors:warning_clean {
|
warnings_are_errors:warning_clean {
|
||||||
# If the module declares that it has does its clean-up of warnings, enable -Werror.
|
# If the module declares that it has does its clean-up of warnings, enable -Werror.
|
||||||
# This setting is compiler-dependent anyway because it depends on the version of the
|
# This setting is compiler-dependent anyway because it depends on the version of the
|
||||||
|
Loading…
x
Reference in New Issue
Block a user