Merge pull request #994 from antmicro/fix-clang-support-detection
Fix clang support detection
This commit is contained in:
commit
17b8a74735
|
@ -46,9 +46,9 @@ def get_cpu_mak(cpu, compile_software):
|
||||||
clang = bool(int(clang))
|
clang = bool(int(clang))
|
||||||
else:
|
else:
|
||||||
clang = None
|
clang = None
|
||||||
if not hasattr(cpu, "clang_triple"):
|
if cpu.clang_triple is None:
|
||||||
if clang:
|
if clang:
|
||||||
raise ValueError(cpu.name + "not supported with clang.")
|
raise ValueError(cpu.name + " is not supported with clang.")
|
||||||
else:
|
else:
|
||||||
clang = False
|
clang = False
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in New Issue