From 61c2246895cc3bf7fd42e4363d17968c2ef27f54 Mon Sep 17 00:00:00 2001 From: Jiajie Hu Date: Thu, 22 Jun 2017 08:38:32 +0800 Subject: [PATCH] Revert an unnecessary change in //build/compiler_version.py. The script doesn't seem to be in use anymore, and in fact the change will break assembler version detection. --- build/compiler_version.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/compiler_version.py b/build/compiler_version.py index 8d80f0cbcbb0..8db010811096 100755 --- a/build/compiler_version.py +++ b/build/compiler_version.py @@ -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