diff --git a/setup.py b/setup.py index d7d4a88..ef49af8 100644 --- a/setup.py +++ b/setup.py @@ -44,7 +44,7 @@ class libuv_build_ext(build_ext): if not re.search('-O\d', cur_cflags): cur_cflags += ' -O2' - env['CFLAGS'] = (cur_cflags + ' -fPIC' + env.get('ARCHFLAGS', '')) + env['CFLAGS'] = (cur_cflags + ' -fPIC ' + env.get('ARCHFLAGS', '')) j_flag = '-j{}'.format(os.cpu_count() or 1)