Skip to content

Commit

Permalink
Revert an unnecessary change in //build/compiler_version.py.
Browse files Browse the repository at this point in the history
The script doesn't seem to be in use anymore, and in fact the change
will break assembler version detection.
  • Loading branch information
hujiajie committed Sep 24, 2017
1 parent 1d17e7f commit bdfbfe6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build/compiler_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ def GetVersion(compiler, tool):
try:
# Note that compiler could be something tricky like "distcc g++".
if tool == "assembler":
compiler = compiler + " --version -Xassembler -x assembler -c /dev/null"
compiler = compiler + " -Xassembler --version -x assembler -c /dev/null"
# Unmodified: GNU assembler (GNU Binutils) 2.24
# Ubuntu: GNU assembler (GNU Binutils for Ubuntu) 2.22
# Fedora: GNU assembler version 2.23.2
Expand Down

0 comments on commit bdfbfe6

Please sign in to comment.