diff options
author | Ryan Dahl <ry@tinyclouds.org> | 2010-05-29 23:25:28 +0400 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2010-05-29 23:25:28 +0400 |
commit | 2fa4de001c12d9524b7380930c58e64db14d8998 (patch) | |
tree | 2aa0295a92244f1efba3a7fa3829f803bf707de7 /tools | |
parent | b480184fd66a3e509d6a3556ce12d6373d421d66 (diff) |
addons should have debugging symbols
Diffstat (limited to 'tools')
-rw-r--r-- | tools/wafadmin/Tools/node_addon.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/wafadmin/Tools/node_addon.py b/tools/wafadmin/Tools/node_addon.py index b308d40f3bc..9462b603acc 100644 --- a/tools/wafadmin/Tools/node_addon.py +++ b/tools/wafadmin/Tools/node_addon.py @@ -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) |