Skip to content

Commit

Permalink
addons should have debugging symbols
Browse files Browse the repository at this point in the history
  • Loading branch information
ry committed May 29, 2010
1 parent b480184 commit 2fa4de0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tools/wafadmin/Tools/node_addon.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,10 @@ def detect(conf):
conf.env['CPPFLAGS_NODE'] = '-D_GNU_SOURCE'
conf.env['CPPFLAGS_NODE'] = '-DEV_MULTIPLICITY=0'

# with symbols
conf.env.append_value('CCFLAGS', ['-g'])
conf.env.append_value('CXXFLAGS', ['-g'])

found = os.path.exists(join(prefix, "bin/node"))
conf.check_message('node prefix', '', found, prefix)

Expand Down

0 comments on commit 2fa4de0

Please sign in to comment.