Skip to content

Commit 53f52a0

Browse files
committed
Fix #4
1 parent db2b246 commit 53f52a0

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

setup.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919

2020
version = '0.2.4'
2121

22-
libsass_sources = [
22+
libsass_sources = [
2323
'constants.cpp', 'context.cpp', 'functions.cpp', 'document.cpp',
2424
'document_parser.cpp', 'eval_apply.cpp', 'node.cpp',
2525
'node_factory.cpp', 'node_emitters.cpp', 'prelexer.cpp',
@@ -55,7 +55,9 @@ def spawn(self, cmd):
5555
link_flags = []
5656
macros = {'LIBSASS_PYTHON_VERSION': '\\"' + version + '\\"'}
5757
else:
58-
flags = ['-fPIC', '-Wall', '-Wno-parentheses', '-Wno-tautological-compare']
58+
flags = ['-fPIC', '-Wall', '-Wno-parentheses']
59+
if sys.platform != 'darwin':
60+
flags.append('-Wno-tautological-compare')
5961
link_flags = ['-fPIC', '-lstdc++']
6062
macros = {'LIBSASS_PYTHON_VERSION': '"' + version + '"'}
6163

0 commit comments

Comments
 (0)