scons: Fix an error about an unrecognized compiler.
authorGabe Black <gabeblack@google.com>
Sat, 8 Feb 2020 01:27:02 +0000 (17:27 -0800)
committerGabe Black <gabeblack@google.com>
Mon, 10 Feb 2020 22:47:13 +0000 (22:47 +0000)
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 <bbruce@ucdavis.edu>
Maintainer: Bobby R. Bruce <bbruce@ucdavis.edu>
Tested-by: kokoro <noreply+kokoro@google.com>
SConstruct

index f378227639d673dedd27aa4a50c7f4c6fa693cf6..eb3a9e465db5770b1e40aa113842e173eb6e7f90 100755 (executable)
@@ -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', '<nl>') 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