summaryrefslogtreecommitdiff
path: root/dev-python/pygresql/files/pygresql-5.2-CFLAGS.patch
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/pygresql/files/pygresql-5.2-CFLAGS.patch')
-rw-r--r--dev-python/pygresql/files/pygresql-5.2-CFLAGS.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/dev-python/pygresql/files/pygresql-5.2-CFLAGS.patch b/dev-python/pygresql/files/pygresql-5.2-CFLAGS.patch
new file mode 100644
index 000000000000..24b9da21d165
--- /dev/null
+++ b/dev-python/pygresql/files/pygresql-5.2-CFLAGS.patch
@@ -0,0 +1,11 @@
+--- 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):