scons: Get rid of a redundant "Warning:" in the SConstruct.

The "warning()" method already prints "Warning:", so putting it in the
message itself means it gets printed twice.

Change-Id: Ic157355958fdf56739f865a926ecba071bb25c5e
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/27127
Reviewed-by: Nikos Nikoleris <nikos.nikoleris@arm.com>
Maintainer: Bobby R. Bruce <bbruce@ucdavis.edu>
Tested-by: kokoro <noreply+kokoro@google.com>
This commit is contained in:
Gabe Black
2020-03-26 03:47:38 -07:00
committed by Gabe Black
parent 55ae5a886b
commit ec236a55ee

View File

@@ -425,9 +425,9 @@ if main['GCC']:
disable_lto = GetOption('no_lto')
if not disable_lto and main.get('BROKEN_INCREMENTAL_LTO', False) and \
not GetOption('force_lto'):
warning('Warning: Your compiler doesn\'t support incremental linking '
'and lto at the same time, so lto is being disabled. To force '
'lto on anyway, use the --force-lto option. That will disable '
warning('Your compiler doesn\'t support incremental linking and lto '
'at the same time, so lto is being disabled. To force lto on '
'anyway, use the --force-lto option. That will disable '
'partial linking.')
disable_lto = True