summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoonas Niilola <juippis@gentoo.org>2020-09-25 10:02:18 +0300
committerJoonas Niilola <juippis@gentoo.org>2020-09-25 10:02:43 +0300
commit48c23655785b084dda1a57ef700d13c01a8d43ae (patch)
treeff33f10e61c4a54789399ed0953f8e2417c016f1 /dev-python/python-efl/files
parentdev-ruby/regexp_parser: add 1.8.0 (diff)
downloadgentoo-48c23655785b084dda1a57ef700d13c01a8d43ae.tar.gz
gentoo-48c23655785b084dda1a57ef700d13c01a8d43ae.tar.bz2
gentoo-48c23655785b084dda1a57ef700d13c01a8d43ae.zip
dev-python/python-efl: bump to 1.25
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'dev-python/python-efl/files')
-rw-r--r--dev-python/python-efl/files/python-efl-1.25-clang-crosscompile.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/dev-python/python-efl/files/python-efl-1.25-clang-crosscompile.patch b/dev-python/python-efl/files/python-efl-1.25-clang-crosscompile.patch
new file mode 100644
index 000000000000..856aed8474ec
--- /dev/null
+++ b/dev-python/python-efl/files/python-efl-1.25-clang-crosscompile.patch
@@ -0,0 +1,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):