Commit e9634812 authored by Denis Bilenko's avatar Denis Bilenko

minor change in setup.py

parent a92a33f8
...@@ -97,7 +97,7 @@ class my_build_ext(build_ext.build_ext): ...@@ -97,7 +97,7 @@ class my_build_ext(build_ext.build_ext):
if cares_embed: if cares_embed:
self.configure_cares() self.configure_cares()
try: try:
if self.compiler.compiler[0] == 'gcc' and '-Wall' in self.compiler.compiler and not gevent_core.extra_compile_args: if gcc_options and self.compiler.compiler[0] == 'gcc' and '-Wall' in self.compiler.compiler and not gevent_core.extra_compile_args:
gevent_core.extra_compile_args = gcc_options gevent_core.extra_compile_args = gcc_options
except (IndexError, AttributeError): except (IndexError, AttributeError):
pass pass
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment