From 735902f3261227de0b10eb8ae0b67f92a2d09929 Mon Sep 17 00:00:00 2001 From: "Bradley T. Hughes" Date: Mon, 27 Mar 2017 09:48:21 +0000 Subject: [PATCH] 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 Reviewed-By: Colin Ihrig Reviewed-By: James M Snell --- node.gyp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/node.gyp b/node.gyp index ac3ad061f0fcb3..93ee7d64ddb287 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)',