Permalink
Browse files

Add compiler and link flags.

  • Loading branch information...
1 parent 32acb5e commit ee6dd7f49a6640b2848b7b8d734c502bc180abcc @bnoordhuis committed Jun 5, 2011
Showing with 2 additions and 0 deletions.
  1. +2 −0 wscript
View
2 wscript
@@ -6,6 +6,8 @@ def set_options(ctx):
def configure(ctx):
ctx.check_tool('compiler_cxx')
ctx.check_tool('node_addon')
+ ctx.env['CPPFLAGS'] += '-Wall -Wextra -g -O0'.split()
+ ctx.env['LINKFLAGS'] += '-lcurl'.split()
def build(ctx):
t = ctx.new_task_gen('cxx', 'shlib', 'node_addon')

0 comments on commit ee6dd7f

Please sign in to comment.