Skip to content
This repository has been archived by the owner on Sep 23, 2024. It is now read-only.

Commit

Permalink
binding build optimizations
Browse files Browse the repository at this point in the history
  • Loading branch information
christkv committed Dec 5, 2016
1 parent d4c3c3b commit d21d510
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion binding.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,13 @@
'conditions': [
['OS=="mac"', {
'xcode_settings': {
'GCC_ENABLE_CPP_EXCEPTIONS': 'YES'
'GCC_ENABLE_CPP_EXCEPTIONS': 'YES',
'OTHER_CFLAGS': [
'-O3',
'-msse2',
'-ffast-math',
'-fexceptions'
]
}
}],
['OS=="win"', {
Expand All @@ -19,6 +25,14 @@
'ExceptionHandling': 1
}
}
}],
['OS=="linux"', {
"cflags": [
"-O3",
"-msse2",
"-ffast-math",
"-fexceptions"
]
}]
]
}
Expand Down

0 comments on commit d21d510

Please sign in to comment.