Skip to content
This repository has been archived by the owner on Nov 6, 2022. It is now read-only.

Commit

Permalink
build: add default build flags to gyp script
Browse files Browse the repository at this point in the history
  • Loading branch information
bnoordhuis committed Oct 14, 2012
1 parent ce6d7ef commit a0fd332
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions http_parser.gyp
Expand Up @@ -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
Expand All @@ -20,6 +21,7 @@
},
'Release': {
'defines': [ 'NDEBUG' ],
'cflags': [ '-Wall', '-Wextra', '-O3' ],
'msvs_settings': {
'VCCLCompilerTool': {
'RuntimeLibrary': 0, # static release
Expand Down

0 comments on commit a0fd332

Please sign in to comment.