Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Negated -fno-exceptions flag coming from node common.gypi

  • Loading branch information...
commit 2721066f97fd47c9a212a50ae1923bab9700d437 1 parent 5c41664
@fardjad fardjad authored
Showing with 3 additions and 1 deletion.
  1. +3 −1 binding.gyp
View
4 binding.gyp
@@ -12,6 +12,7 @@
"hosts/node-o3/sh_node.cc",
"hosts/node-o3/sh_node_libs.cc"
],
+ "cflags_cc!": ["-fno-exceptions"],
"conditions": [
["OS==\"win\"", {
# TODO: Add Windows libraries
@@ -22,6 +23,7 @@
}],
["OS==\"mac\"", {
"xcode_settings": {
+ "GCC_ENABLE_CPP_EXCEPTIONS": "YES",
"OTHER_CFLAGS": [
"<!@(xml2-config --cflags)",
"-O3",
@@ -42,4 +44,4 @@
]
}
]
-}
+}
Please sign in to comment.
Something went wrong with that request. Please try again.