71
edits
Franziskus (talk | contribs) (CC/CCC) |
Franziskus (talk | contribs) No edit summary |
||
Line 8: | Line 8: | ||
./build.sh | ./build.sh | ||
* | ==== Build Options ==== | ||
* <code>CC</code> and <code>CCC</code> can be used to set the used compiler | |||
Usage: build.sh [-hcgv] [-j <n>] [--test] [--fuzz] [--scan-build[=output]] | |||
[-m32] [--opt|-o] | |||
This script builds NSS with gyp and ninja. | |||
This build system is still under development. It does not yet support all | |||
the features or platforms that NSS supports. | |||
NSS build tool options: | |||
-h display this help and exit | |||
-c clean before build | |||
-g force a rebuild of gyp (and NSPR, because why not) | |||
-j <n> run at most <n> concurrent jobs | |||
-v verbose build | |||
-m32 do a 32-bit build on a 64-bit system | |||
--test ignore map files and export everything we have | |||
--fuzz enable fuzzing mode. this always enables test builds | |||
--scan-build run the build with scan-build (scan-build has to be in the path) | |||
--scan-build=/out/path sets the output path for scan-build | |||
--opt|-o do an opt build | |||
* disable_tests | * disable_tests | ||
* disable_dbm | * disable_dbm | ||
Line 18: | Line 40: | ||
* mozilla_client | * mozilla_client | ||
* cross compiling <code>-DOS=android</code> (gyp argument) | * cross compiling <code>-DOS=android</code> (gyp argument) | ||
edits