gentoo/dev-python/pygresql/files/pygresql-5.2-CFLAGS.patch
Aaron W. Swenson 32fe2e0afd
dev-python/pygresql: Bump to 5.2
Add patch to remove excess CFLAGS. Thanks, Jeroen Roovers.

Bug: https://bugs.gentoo.org/688286
Package-Manager: Portage-2.3.103, Repoman-2.3.23
Signed-off-by: Aaron W. Swenson <titanofold@gentoo.org>
2020-07-31 23:45:28 -04:00

12 lines
333 B
Diff

--- a/setup.py
+++ b/setup.py
@@ -95,7 +95,7 @@
library_dirs = [get_python_lib(), pg_config('libdir')]
define_macros = [('PYGRESQL_VERSION', version)]
undef_macros = []
-extra_compile_args = ['-O2', '-funsigned-char', '-Wall', '-Wconversion']
+extra_compile_args = ['-funsigned-char', '-Wall']
class build_pg_ext(build_ext):