summaryrefslogtreecommitdiff
path: root/build.sh
diff options
context:
space:
mode:
authorFranziskus Kiefer <franziskuskiefer@gmail.com>2019-12-04 18:13:51 +0000
committerFranziskus Kiefer <franziskuskiefer@gmail.com>2019-12-04 18:13:51 +0000
commit8be2fb4288c053d66ef94bb5c603d65ac7f4e7ad (patch)
treeee0b6fb5fd2bd6c4cd219d3faa07ab33b67b2c40 /build.sh
parent40d8e4cbfb8c4f6c591a6588a5d8beca0c7f4147 (diff)
downloadnss-hg-8be2fb4288c053d66ef94bb5c603d65ac7f4e7ad.tar.gz
Bug 1594933 - disable libnssdbm by default; keep build on CI, r=jcj
Disale libnssdbm by default and add flag to enable it in builds. On CI a build and certs test with enabled legacy DB are added. Note that for some reason the coverage build fails. I have no idea why. I'm open for ideas. Differential Revision: https://phabricator.services.mozilla.com/D54673
Diffstat (limited to 'build.sh')
-rwxr-xr-xbuild.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/build.sh b/build.sh
index 7595d76f4..51a6203fc 100755
--- a/build.sh
+++ b/build.sh
@@ -113,8 +113,8 @@ while [ $# -gt 0 ]; do
--fuzz) fuzz=1 ;;
--fuzz=oss) fuzz=1; fuzz_oss=1 ;;
--fuzz=tls) fuzz=1; fuzz_tls=1 ;;
- --sancov) enable_sancov ;;
- --sancov=?*) enable_sancov "${1#*=}" ;;
+ --sancov) enable_sancov; gyp_params+=(-Dcoverage=1) ;;
+ --sancov=?*) enable_sancov "${1#*=}"; gyp_params+=(-Dcoverage=1) ;;
--emit-llvm) gyp_params+=(-Demit_llvm=1 -Dsign_libs=0) ;;
--no-zdefs) gyp_params+=(-Dno_zdefs=1) ;;
--static) gyp_params+=(-Dstatic_libs=1) ;;
@@ -130,6 +130,7 @@ while [ $# -gt 0 ]; do
--enable-libpkix) gyp_params+=(-Ddisable_libpkix=0) ;;
--mozpkix-only) gyp_params+=(-Dmozpkix_only=1 -Ddisable_tests=1 -Dsign_libs=0) ;;
--disable-keylog) sslkeylogfile=0 ;;
+ --enable-legacy-db) gyp_params+=(-Ddisable_dbm=0) ;;
-D*) gyp_params+=("$1") ;;
*) show_help; exit 2 ;;
esac