Skip to content

Commit

Permalink
Merge pull request squeaky-pl#150 from theblackcat102/master
Browse files Browse the repository at this point in the history
  • Loading branch information
squeaky-pl authored Mar 8, 2019
2 parents c6ed1c3 + c3f3dcb commit a526277
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.py
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ def build_extensions(self):
if not ext.extra_compile_args:
ext.extra_compiler_args = []
extra_compile_args = ['-std=c99', '-UNDEBUG', '-D_GNU_SOURCE']
if self.compiler.compiler_so[0].startswith('gcc'):
if self.compiler.compiler_so[0].startswith('gcc') and sys.platform != 'darwin':
extra_compile_args.append('-frecord-gcc-switches')
ext.extra_compile_args.extend(extra_compile_args)
compile_c(
Expand Down

0 comments on commit a526277

Please sign in to comment.