From ec236a55eeef31435df999fc790f5c501aa657c6 Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Thu, 26 Mar 2020 03:47:38 -0700 Subject: [PATCH] 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 Maintainer: Bobby R. Bruce Tested-by: kokoro --- SConstruct | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/SConstruct b/SConstruct index f5eb0ca63..8d5ac5748 100755 --- a/SConstruct +++ b/SConstruct @@ -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 -- 2.30.2