summaryrefslogtreecommitdiff
path: root/coreconf/fuzz.sh
diff options
context:
space:
mode:
authorMartin Thomson <mt@lowentropy.net>2019-04-29 15:27:25 +1000
committerMartin Thomson <mt@lowentropy.net>2019-04-29 15:27:25 +1000
commit6b580f637d3bedd098b0ab8fd0b3920aa5b9dd4e (patch)
tree73e9d674bfc59b3c35c16cb48f982fb2666a1a9a /coreconf/fuzz.sh
parent34c4c8d461cd9c4bcb970cbfb6d3b1bc4cebcc07 (diff)
downloadnss-hg-6b580f637d3bedd098b0ab8fd0b3920aa5b9dd4e.tar.gz
Bug 1543545 - Option to produce static libraries, r=kevinjacobs
Summary: The fine folks in application services would like to use NSS, but would greatly prefer static linking. Part of that is driven by iOS constraints on performance and a possible rejection from the store for dynamic linking (NSS dynamically loads softoken). This provides a build option that produces a fully statically linked set of libraries. Reviewers: KevinJacobs Tags: #secure-revision Bug #: 1543545 Differential Revision: https://phabricator.services.mozilla.com/D29303
Diffstat (limited to 'coreconf/fuzz.sh')
-rw-r--r--coreconf/fuzz.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/coreconf/fuzz.sh b/coreconf/fuzz.sh
index c7b8844b6..ef5c53c9d 100644
--- a/coreconf/fuzz.sh
+++ b/coreconf/fuzz.sh
@@ -14,7 +14,7 @@ if [ -z "$CC" ]; then
export CXX=clang++
fi
-gyp_params+=(-Dtest_build=1 -Dfuzz=1 -Dsign_libs=0)
+gyp_params+=(-Dtest_build=1 -Dstatic_libs=1 -Dfuzz=1 -Dsign_libs=0)
# Add debug symbols even for opt builds.
nspr_params+=(--enable-debug-symbols)