Skip to content

Commit af7c153

Browse files
committed
Merge pull request #10 from mitar/patch-1
Fixed -O0 switch on Mac OS X
2 parents defe73e + d87a714 commit af7c153

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

binding.gyp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@
66
"src/segfault-handler.cpp"
77
],
88
"defines": [ "DEBUG", "_DEBUG" ],
9-
# DDOPSON-2013-04-16 - Some versions of node-gyp don't seem to respect "cflags" (eg, my v0.8.2)
10-
# I hacked the module src to thart the over-optimization issue that previously required -O0, so we work even w/o the flag
11-
# However, the -O0 flag is still preferable for this module where debuggability matters and code size / perf are non-issues
129
"cflags": [ "-O0" ],
10+
"xcode_settings": {
11+
"OTHER_CFLAGS": [ "-O0" ]
12+
}
1313
}
1414
]
1515
}

0 commit comments

Comments
 (0)