mirror of
https://gitlab.com/ita1024/waf.git
synced 2024-12-01 22:40:46 +01:00
Better error message when the c compiler is clang and gcc is not found
This commit is contained in:
parent
42fb4f08a0
commit
d761ad1397
@ -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 g++, if renamed try eg: CXX=g++48 waf configure')
|
||||
conf.fatal('Could not find gcc/g++, if renamed try eg: CC=gcc48 CXX=g++48 waf configure')
|
||||
|
||||
k = {}
|
||||
if icc or gcc or clang:
|
||||
|
Loading…
Reference in New Issue
Block a user