我希望在构建节点绑定时使用编译器和链接器标志。如何使node-gyp build
以详细模式运行才能实现。 (类似于make VERBOSE=1
的{{1}})
答案 0 :(得分:9)
尝试
node-gyp rebuild --verbose
答案 1 :(得分:4)
make V=1
帮助我进行详细的V8
构建。我没有尝试node.js
。
我不太了解gyp
,但我知道它在out/Makefile
的乞讨时写入Makefile
# The V=1 flag on command line makes us verbosely print command lines.
ifdef V
quiet=
else
quiet=quiet_
endif