diff options
Diffstat (limited to 'SConstruct')
-rwxr-xr-x | SConstruct | 3 |
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 |