From 38e460343f84fb9f19d203b939dce877e3efee51 Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Fri, 7 Feb 2020 17:27:02 -0800 Subject: [PATCH] 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 --- SConstruct | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.30.2