summaryrefslogtreecommitdiff
path: root/SConstruct
diff options
context:
space:
mode:
authorGabe Black <gabeblack@google.com>2017-03-24 00:36:16 -0700
committerGabe Black <gabeblack@google.com>2017-03-24 19:39:19 +0000
commit03ea796a7906b70a30f61f8cb4a5b6d79ca65589 (patch)
treed191e01a0191670b37739e5689d7422a7aaa2452 /SConstruct
parent7d6f2c5050f9c20b5882179f93c651c4f837fcf4 (diff)
downloadgem5-03ea796a7906b70a30f61f8cb4a5b6d79ca65589.tar.xz
scons: Stop generating an a.out checking the "as" version.
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>
Diffstat (limited to 'SConstruct')
-rwxr-xr-xSConstruct3
1 files changed, 2 insertions, 1 deletions
diff --git a/SConstruct b/SConstruct
index d405781d4..b4ab0bfb9 100755
--- a/SConstruct
+++ b/SConstruct
@@ -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