1 # Installation path options.
5 SYSCONTROLSOCKET=/dev/dinitctl
8 # General build options. Uncomment the options appropriate for your system.
10 # Linux (GCC). Note with GCC 5.x/6.x you must use the old ABI, with GCC 7.x you must use
11 # the new ABI. See BUILD file for more information.
13 CXXOPTS=-D_GLIBCXX_USE_CXX11_ABI=1 -std=c++11 -Os -Wall -fno-rtti -fno-plt -flto
16 SANITIZEOPTS=-fsanitize=address,undefined
18 # OpenBSD, tested with GCC 4.9.3 / Clang++ 4/5 and gmake:
20 #CXXOPTS=-std=c++11 -Os -Wall -fno-rtti
24 # (shutdown command not available for OpenBSD yet).
26 # FreeBSD: use clang++ by default, supports sanitizers, requires linking with -lrt
27 # Cannot use -fno-rtti: apparently prevents exception handling from working properly.
29 #CXXOPTS=-std=c++11 -Os -Wall
32 #SANITIZEOPTS=-fsanitize=address,undefined
34 # MacOS: use g++ (which may alias clang++):
35 # Cannot use -fno-rtti: apparently prevents exception handling from working properly.
37 #CXXOPTS=-std=c++11 -Os -Wall -flto
40 #SANITIZEOPTS=-fsanitize=address,undefined