diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-09-30 17:27:54 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-09-30 17:27:54 +0100 |
commit | f70a1bfc721336d4fc7dfb711c2f518a6b18cf16 (patch) | |
tree | e907cb121b30e3c1df1710719c0ddf4029597a47 /dev-python/python-efl/files | |
parent | db063b515939ab15261136b24e4bc44386335c0c (diff) |
gentoo resync : 30.09.2020
Diffstat (limited to 'dev-python/python-efl/files')
-rw-r--r-- | dev-python/python-efl/files/python-efl-1.25-clang-crosscompile.patch | 14 |
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): |