summaryrefslogtreecommitdiff
blob: 856aed8474ec51b637c428fc28a58cee33150b6a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
diff -Naur a/setup.py b/setup.py
--- a/setup.py	2020-06-25 19:46:38.312786000 +0300
+++ b/setup.py	2020-09-25 09:52:34.830587205 +0300
@@ -221,6 +221,10 @@
 # remove clang unknown flags
 if os.getenv("CC") == "clang":
     common_cflags.remove('-fno-var-tracking-assignments')
+if os.getenv("CC") == "x86_64-pc-linux-gnu-clang":
+    common_cflags.remove('-fno-var-tracking-assignments')
+if os.getenv("CC") == "i686-pc-linux-gnu-clang":
+    common_cflags.remove('-fno-var-tracking-assignments')
 
 
 if set(("build", "build_ext", "install", "bdist", "sdist")) & set(sys.argv):