Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions setup.py
Original file line numberDiff line numberDiff line change
Expand Up@@ -55,7 +55,7 @@


MACHINE = platform.machine()
CFLAGS = ['-O2']
MODULES_CFLAGS = [os.getenv('UVLOOP_OPT_CFLAGS', '-O2')]
_ROOT = pathlib.Path(__file__).parent
LIBUV_DIR = str(_ROOT / 'vendor' / 'libuv')
LIBUV_BUILD_DIR = str(_ROOT / 'build' / 'libuv-{}'.format(MACHINE))
Expand DownExpand Up@@ -301,7 +301,7 @@ def build_extensions(self):
sources=[
"uvloop/loop.pyx",
],
extra_compile_args=CFLAGS
extra_compile_args=MODULES_CFLAGS
),
],
classifiers=[
Expand Down