summaryrefslogtreecommitdiff
path: root/build.sh
diff options
context:
space:
mode:
authorMartin Thomson <martin.thomson@gmail.com>2019-02-26 09:45:29 +1100
committerMartin Thomson <martin.thomson@gmail.com>2019-02-26 09:45:29 +1100
commit193496bdfce23da9a4e21bf748a837ad1eacf246 (patch)
tree7d7a298d58f428e66f99d96ca4d06051861a1fd5 /build.sh
parentf654d5744ec20b705d1e4f05081dfc8d58b6067c (diff)
downloadnss-hg-193496bdfce23da9a4e21bf748a837ad1eacf246.tar.gz
Bug 1528669 - Pass -D options directly to gyp, r=jcj
Reviewers: jcj Reviewed By: jcj Bug #: 1528669 Differential Revision: https://phabricator.services.mozilla.com/D20120
Diffstat (limited to 'build.sh')
-rwxr-xr-xbuild.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/build.sh b/build.sh
index 4c6d513cd..66f598181 100755
--- a/build.sh
+++ b/build.sh
@@ -103,6 +103,7 @@ while [ $# -gt 0 ]; do
--enable-fips) gyp_params+=(-Ddisable_fips=0) ;;
--enable-libpkix) gyp_params+=(-Ddisable_libpkix=0) ;;
--mozpkix-only) gyp_params+=(-Dmozpkix_only=1 -Ddisable_tests=1 -Dsign_libs=0) ;;
+ -D*) gyp_params+=("$1") ;;
*) show_help; exit 2 ;;
esac
shift