1727fc2794
Change-Id: I5982c44d5995baeaffff4ff12316f1f8fa7d0ade
13 lines
521 B
Diff
13 lines
521 B
Diff
-*- Mode: diff -*-
|
|
|
|
--- python3/setup.py
|
|
+++ python3/setup.py
|
|
@@ -436,7 +436,7 @@
|
|
if ret >> 8 == 0:
|
|
with open(tmpfile) as fp:
|
|
for line in fp.readlines():
|
|
- if line.startswith("gcc version"):
|
|
+ if line.startswith("gcc version") or line.startswith("clang -cc1 version"):
|
|
is_gcc = True
|
|
elif line.startswith("#include <...>"):
|
|
in_incdirs = True
|