From 2e449c1fbfd1fdb948da6056c3694a23de1bdf46 Mon Sep 17 00:00:00 2001 From: Matthew Honnibal Date: Sun, 14 Jan 2018 14:34:36 +0100 Subject: [PATCH] Fix compiler flags, addressing #1591 --- setup.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/setup.py b/setup.py index b0f71aa20..a387c605c 100755 --- a/setup.py +++ b/setup.py @@ -46,9 +46,8 @@ MOD_NAMES = [ COMPILE_OPTIONS = { 'msvc': ['/Ox', '/EHsc'], - 'mingw32' : ['-O3', '-Wno-strict-prototypes', '-Wno-unused-function'], - 'other' : ['-O3', '-Wno-strict-prototypes', '-Wno-unused-function', - '-march=native'] + 'mingw32' : ['-O2', '-Wno-strict-prototypes', '-Wno-unused-function'], + 'other' : ['-O2', '-Wno-strict-prototypes', '-Wno-unused-function'] }