Skip to content

Commit

Permalink
add platform conditional for osx -std=c++11 arg
Browse files Browse the repository at this point in the history
  • Loading branch information
schmty committed Apr 15, 2019
1 parent ca97b06 commit 753b0e2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@ def get_file_contents(filename):
return fp.read()


extra_compile_args = ['-Wall', '-g', '-x', 'c++', '-std=c++11']
extra_compile_args = ['-Wall', '-g', '-x', 'c++']
if platform.system() == 'Darwin':
extra_compile_args += ['-std=c++11']

ext_modules = [
Extension(
Expand Down

0 comments on commit 753b0e2

Please sign in to comment.