scons: Stop generating an a.out checking the "as" version.
authorGabe Black <gabeblack@google.com>
Fri, 24 Mar 2017 07:36:16 +0000 (00:36 -0700)
committerGabe Black <gabeblack@google.com>
Fri, 24 Mar 2017 19:39:19 +0000 (19:39 +0000)
Change-Id: I71d07fc64bdb3c6c3e93e2a1fd358cc899a70678
Reviewed-on: https://gem5-review.googlesource.com/2500
Reviewed-by: Jason Lowe-Power <jason@lowepower.com>
Maintainer: Jason Lowe-Power <jason@lowepower.com>

SConstruct

index d405781d4e4f4dfe1bca471508922ef0eba4f22f..b4ab0bfb91a226195acc98fa799a5e56d8262854 100755 (executable)
@@ -713,7 +713,8 @@ if main['GCC']:
     # to avoid performance penalties on certain AMD chips. Older
     # assemblers detect this as an error, "Error: expecting string
     # instruction after `rep'"
-    as_version_raw = readCommand([main['AS'], '-v', '/dev/null'],
+    as_version_raw = readCommand([main['AS'], '-v', '/dev/null',
+                                  '-o', '/dev/null'],
                                  exception=False).split()
 
     # version strings may contain extra distro-specific