From: Gabe Black Date: Sat, 8 Feb 2020 01:27:02 +0000 (-0800) Subject: scons: Fix an error about an unrecognized compiler. X-Git-Tag: v19.0.0.0~15 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=38e460343f84fb9f19d203b939dce877e3efee51;p=gem5.git scons: Fix an error about an unrecognized compiler. join was being passed a series of strings to join as separate arguments like os.path.join, but it expects to get them as members of a single sequence. Change-Id: Id88ce4e9c5400f256a1af6351b4a964af0036b72 Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/25203 Reviewed-by: Bobby R. Bruce Maintainer: Bobby R. Bruce Tested-by: kokoro --- diff --git a/SConstruct b/SConstruct index f37822763..eb3a9e465 100755 --- a/SConstruct +++ b/SConstruct @@ -389,7 +389,7 @@ if main['GCC'] or main['CLANG']: '-Wno-error=deprecated', ]) else: - error('\n'.join( + error('\n'.join(( "Don't know what compiler options to use for your compiler.", "compiler: " + main['CXX'], "version: " + CXX_version.replace('\n', '') if @@ -400,7 +400,7 @@ else: "", "If you are trying to use a compiler other than those listed", "above you will need to ease fix SConstruct and ", - "src/SConscript to support that compiler.")) + "src/SConscript to support that compiler."))) if main['GCC']: # Check for a supported version of gcc. >= 4.8 is chosen for its