From 03ea796a7906b70a30f61f8cb4a5b6d79ca65589 Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Fri, 24 Mar 2017 00:36:16 -0700 Subject: [PATCH] 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 --- SConstruct | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- 2.30.2