Fix buildifier
This commit is contained in:
parent
12d7663143
commit
31d3003212
|
@ -197,10 +197,10 @@ def pick_cpp_toolchain(cxx):
|
|||
correct path to the cxx compiler
|
||||
"""
|
||||
cxx_splitted = cxx.split("/")
|
||||
if(cxx_splitted[-1].startswith("gcc")):
|
||||
if (cxx_splitted[-1].startswith("gcc")):
|
||||
cxx_splitted[-1] = cxx_splitted[-1].replace("gcc", "g++")
|
||||
cxx = "/".join(cxx_splitted)
|
||||
if(cxx_splitted[-1].startswith("clang")):
|
||||
if (cxx_splitted[-1].startswith("clang")):
|
||||
cxx_splitted[-1] = cxx_splitted[-1].replace("clang", "clang++")
|
||||
cxx = "/".join(cxx_splitted)
|
||||
return cxx
|
||||
|
|
Loading…
Reference in New Issue