summaryrefslogtreecommitdiff
path: root/dev-python/asyncpg/files
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/asyncpg/files')
-rw-r--r--dev-python/asyncpg/files/asyncpg-0.30.0-cflags.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/dev-python/asyncpg/files/asyncpg-0.30.0-cflags.patch b/dev-python/asyncpg/files/asyncpg-0.30.0-cflags.patch
new file mode 100644
index 000000000000..19c197dd7bd1
--- /dev/null
+++ b/dev-python/asyncpg/files/asyncpg-0.30.0-cflags.patch
@@ -0,0 +1,15 @@
+Do not overwrite user's optimization.
+
+Bug: https://bugs.gentoo.org/887651
+
+--- a/setup.py
++++ b/setup.py
+@@ -27,7 +27,7 @@ from setuptools.command import build_ext as setuptools_build_ext
+
+ CYTHON_DEPENDENCY = 'Cython(>=0.29.24,<4.0.0)'
+
+-CFLAGS = ['-O2']
++CFLAGS = []
+ LDFLAGS = []
+
+ if platform.uname().system != 'Windows':