diff options
author | Maciej MaĆecki <me@mmalecki.com> | 2012-12-21 05:56:47 +0400 |
---|---|---|
committer | Nathan Rajlich <nathan@tootallnate.net> | 2012-12-22 00:44:33 +0400 |
commit | f84bf5b6b174af0639813c9f3167f3593f2c5eb4 (patch) | |
tree | 55b5c2185d043296fdcf031d595a09670d350951 /node.gyp | |
parent | 70eb227e80f10cf51288a5a3018e858480099df4 (diff) |
build: allow to specify custom tags
When building custom `node` versions (e.g., floating features/fixes from
different versions) it's often useful to specify a custom tag which
easily identifies build when invoking `node -v`.
Introduce a way to specify this tag in `node_version.h` file or by
running `./configure --tag="<tag>"`. Insert it right after the patch
version (and before `-pre`, if build is not a release).
Closes #4452.
Diffstat (limited to 'node.gyp')
-rw-r--r-- | node.gyp | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -142,6 +142,7 @@ 'NODE_WANT_INTERNALS=1', 'ARCH="<(target_arch)"', 'PLATFORM="<(OS)"', + 'NODE_TAG="<(node_tag)"', ], 'conditions': [ |