Skip to content

Commit 0b30611

Browse files
committed
Fix #4
1 parent 53f52a0 commit 0b30611

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

setup.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,9 @@ def spawn(self, cmd):
5555
link_flags = []
5656
macros = {'LIBSASS_PYTHON_VERSION': '\\"' + version + '\\"'}
5757
else:
58-
flags = ['-fPIC', '-Wall', '-Wno-parentheses']
59-
if sys.platform != 'darwin':
60-
flags.append('-Wno-tautological-compare')
58+
flags = ['-fPIC', '-Wall', '-Wno-parentheses', '-Wno-tautological-compare']
59+
if sys.platform == 'darwin':
60+
flags.pop()
6161
link_flags = ['-fPIC', '-lstdc++']
6262
macros = {'LIBSASS_PYTHON_VERSION': '"' + version + '"'}
6363

0 commit comments

Comments
 (0)