The Synchronet builds system supports a vast array of build options most of which are only slightly supported. This page attempts to document them for advanced users.
DEBUG
RELEASE
is not defined, does a debug build.FORTIFY
DEBUG
, will build with _FORTIFY_SOURCE
option (and enable basic optimization).SANITIZE
DEBUG
, will build with AddressSanitizer (ASan) and Undefined Behavior (UB) Sanitizer (not currently recommended/supported).RELEASE
JS_CFLAGS
JS_LDFLAGS
JSINCLUDE
JSLIBDIR
JSLIB
EXTRA_JS_CONFIGURE_ARGS
configure
command when building the included SpiderMonkey.–disable-tracejit
is commonly needed to build JS on less common OSs/Architectures. Please file a bug if it's required.JS_CONFIGURE_ARGS
configure
command when building the included SpiderMonkey.CRYPTLIBINCLUDE
CRYPTLIBDIR
CRYPT_LIBS
USE_SDL_AUDIO
WITHOUT_SDL
SDL_CONFIG
NSPRDIR
NSPRINCLUDE
NSPR_CFLAGS
NSPR_LDFLAGS
SRC_ROOT
3RDP_ROOT
PROFILE
UPROFILE
USE_UPROFILE
UPROFIE
build (RELEASE builds only)GCOV
DONT_CLOBBER_CC
(Removed Fri Feb 6 23:58:56 2015 UTC - gcc no longer forced)gcc
. To use a different compiler, you will need to set both CC *and* this option.OBJPATH_SUFFIX
STATIC
BUILDPATH
NO_X
WITHOUT_PORTAUDIO
DONT_BLAME_SYNCHRONET