summaryrefslogtreecommitdiffstats
path: root/scripts/as-version.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/as-version.sh')
-rwxr-xr-xscripts/as-version.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/as-version.sh b/scripts/as-version.sh
index 1a21495e9ff0..af717476152d 100755
--- a/scripts/as-version.sh
+++ b/scripts/as-version.sh
@@ -45,7 +45,7 @@ orig_args="$@"
# Get the first line of the --version output.
IFS='
'
-set -- $(LC_ALL=C "$@" -Wa,--version -c -x assembler /dev/null -o /dev/null 2>/dev/null)
+set -- $(LC_ALL=C "$@" -Wa,--version -c -x assembler-with-cpp /dev/null -o /dev/null 2>/dev/null)
# Split the line on spaces.
IFS=' '