Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

build: add default build flags to gyp script

  • Loading branch information...
commit a0fd3323ddaa3cb5123ea6a8beca9776ff134c02 1 parent ce6d7ef
@bnoordhuis bnoordhuis authored
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
Please sign in to comment.
Something went wrong with that request. Please try again.