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))
|
||||
else:
|
||||
clang = None
|
||||
if not hasattr(cpu, "clang_triple"):
|
||||
if cpu.clang_triple is None:
|
||||
if clang:
|
||||
raise ValueError(cpu.name + "not supported with clang.")
|
||||
raise ValueError(cpu.name + " is not supported with clang.")
|
||||
else:
|
||||
clang = False
|
||||
else:
|
||||
|
|
Loading…
Reference in New Issue