projects
/
platform
/
upstream
/
nodejs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b480184
)
addons should have debugging symbols
author
Ryan Dahl
<ry@tinyclouds.org>
Sat, 29 May 2010 19:25:28 +0000
(12:25 -0700)
committer
Ryan Dahl
<ry@tinyclouds.org>
Sat, 29 May 2010 19:25:28 +0000
(12:25 -0700)
tools/wafadmin/Tools/node_addon.py
patch
|
blob
|
history
diff --git
a/tools/wafadmin/Tools/node_addon.py
b/tools/wafadmin/Tools/node_addon.py
index b308d40f3bc3b3cf72f49bd765ca896b70802f58..9462b603accfc92402cc792dcd42a93d17a01f9e 100644
(file)
--- 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)