From: Gabe Black Date: Fri, 24 Mar 2017 07:36:16 +0000 (-0700) Subject: scons: Stop generating an a.out checking the "as" version. X-Git-Tag: v19.0.0.0~2894 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=03ea796a7906b70a30f61f8cb4a5b6d79ca65589;p=gem5.git 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 Maintainer: Jason Lowe-Power --- 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