mirror of https://gitlab.com/ita1024/waf.git
Better error message when the c compiler is clang and gcc is not found
This commit is contained in:
parent
a336bb1b8b
commit
1debaf5f03
|
@ -1001,7 +1001,7 @@ def get_cc_version(conf, cc, gcc=False, icc=False, clang=False):
|
|||
if clang and out.find('__clang__') < 0:
|
||||
conf.fatal('Not clang/clang++')
|
||||
if not clang and out.find('__clang__') >= 0:
|
||||
conf.fatal('Could not find gcc/g++, if renamed try eg: CC=gcc48 CXX=g++48 waf configure')
|
||||
conf.fatal('Could not find gcc/g++ (only Clang), if renamed try eg: CC=gcc48 CXX=g++48 waf configure')
|
||||
|
||||
k = {}
|
||||
if icc or gcc or clang:
|
||||
|
|
Loading…
Reference in New Issue