aboutsummaryrefslogtreecommitdiff
path: root/python/setup.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/setup.py')
-rwxr-xr-xpython/setup.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/python/setup.py b/python/setup.py
index 1683674e..64e318f1 100755
--- a/python/setup.py
+++ b/python/setup.py
@@ -191,10 +191,10 @@ if __name__ == '__main__':
extra_compile_args.append('-Wno-shorten-64-to-32')
v, _, _ = platform.mac_ver()
- if not v:
+ if v:
v = float('.'.join(v.split('.')[:2]))
if v >= 10.12:
- extra_compile_args=['-std=c++11'],
+ extra_compile_args.append('-std=c++11')
if warnings_as_errors in sys.argv:
extra_compile_args.append('-Werror')