From 193496bdfce23da9a4e21bf748a837ad1eacf246 Mon Sep 17 00:00:00 2001 From: Martin Thomson Date: Tue, 26 Feb 2019 09:45:29 +1100 Subject: 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 --- build.sh | 1 + 1 file changed, 1 insertion(+) (limited to 'build.sh') 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 -- cgit v1.2.1