summaryrefslogtreecommitdiff
path: root/node.gyp
diff options
context:
space:
mode:
authorBradley T. Hughes <bradleythughes@fastmail.fm>2017-03-27 09:48:21 +0000
committerLuigi Pinca <luigipinca@gmail.com>2017-05-27 14:17:20 +0200
commitf84666f923e1d89c2cf3f5a31075985846016c13 (patch)
tree6b42a1a0a5ed878f0174a2bb4e401bd99fc25d36 /node.gyp
parent1a2cd91b208f3117063ea93b241940bb3e15e6f6 (diff)
downloadnode-new-f84666f923e1d89c2cf3f5a31075985846016c13.tar.gz
build: support dtrace on ARM
Use the same dtrace command on ARM as on i386. Patch obtained from FreeBSD PR 218081 [1]. 1. https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=218081 PR-URL: https://github.com/nodejs/node/pull/12193 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'node.gyp')
-rw-r--r--node.gyp2
1 files changed, 1 insertions, 1 deletions
diff --git a/node.gyp b/node.gyp
index ac3ad061f0..93ee7d64dd 100644
--- a/node.gyp
+++ b/node.gyp
@@ -514,7 +514,7 @@
'<(OBJ_DIR)/node/src/node_dtrace_ustack.o'
],
'conditions': [
- [ 'target_arch=="ia32"', {
+ [ 'target_arch=="ia32" or target_arch=="arm"', {
'action': [
'dtrace', '-32', '-I<(SHARED_INTERMEDIATE_DIR)', '-Isrc',
'-C', '-G', '-s', 'src/v8ustack.d', '-o', '<@(_outputs)',