2
0
mirror of https://gitlab.com/ita1024/waf.git synced 2024-12-02 06:50:26 +01:00

Better error message when the c compiler is clang and gcc is not found

This commit is contained in:
Thomas Nagy 2015-06-20 22:21:43 +02:00
parent 42fb4f08a0
commit d761ad1397
No known key found for this signature in database
GPG Key ID: 67A565EDFDF90E64

View File

@ -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: