mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-02-13 02:47:39 -08:00
15 lines
579 B
Diff
15 lines
579 B
Diff
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):
|