Skip to content
Browse files

build: add default build flags to gyp script

  • Loading branch information...
1 parent ce6d7ef commit a0fd3323ddaa3cb5123ea6a8beca9776ff134c02 @bnoordhuis bnoordhuis committed
Showing with 2 additions and 0 deletions.
  1. +2 −0 http_parser.gyp
View
2 http_parser.gyp
@@ -12,6 +12,7 @@
# RuntimeLibrary MUST MATCH across the entire project
'Debug': {
'defines': [ 'DEBUG', '_DEBUG' ],
+ 'cflags': [ '-Wall', '-Wextra', '-O0', '-g', '-ftrapv' ],
'msvs_settings': {
'VCCLCompilerTool': {
'RuntimeLibrary': 1, # static debug
@@ -20,6 +21,7 @@
},
'Release': {
'defines': [ 'NDEBUG' ],
+ 'cflags': [ '-Wall', '-Wextra', '-O3' ],
'msvs_settings': {
'VCCLCompilerTool': {
'RuntimeLibrary': 0, # static release

0 comments on commit a0fd332

Please sign in to comment.
Something went wrong with that request. Please try again.