diff --git a/common.gypi b/common.gypi index 33cd361e67a672..e7e4d3fc90db4c 100644 --- a/common.gypi +++ b/common.gypi @@ -204,6 +204,7 @@ ], }], ['OS=="solaris"', { + 'cflags': [ '-fno-omit-frame-pointer' ], # pull in V8's postmortem metadata 'ldflags': [ '-Wl,-z,allextract' ] }], @@ -211,9 +212,6 @@ # increase performance, number from experimentation 'cflags': [ '-qINLINE=::150:100000' ] }], - ['OS!="mac" and OS!="win" and OS!="zos"', { - 'cflags': [ '-fno-omit-frame-pointer' ], - }], ['OS=="linux"', { 'conditions': [ ['enable_pgo_generate=="true"', { diff --git a/tools/install.py b/tools/install.py index 4b01d67da54e1f..9d5f4a48bca2c9 100755 --- a/tools/install.py +++ b/tools/install.py @@ -177,6 +177,11 @@ def files(action): else: output_lib = 'libnode.' + variables.get('shlib_suffix') action([output_prefix + output_lib], variables.get('libdir') + '/' + output_lib) + if 'true' == variables.get('node_use_dtrace'): + action(['out/Release/node.d'], 'lib/dtrace/node.d') + + # behave similarly for systemtap + action(['src/node.stp'], 'share/systemtap/tapset/') action(['deps/v8/tools/gdbinit'], 'share/doc/node/') action(['deps/v8/tools/lldb_commands.py'], 'share/doc/node/')