1 # Installation path options.
7 # General build options. Uncomment the options appropriate for your system.
9 # Linux (GCC). Note with GCC 5.x/6.x you must use the old ABI, with GCC 7.x you must use
10 # the new ABI. See BUILD file for more information.
12 CXXOPTS=-D_GLIBCXX_USE_CXX11_ABI=1 -std=c++11 -Os -Wall -fno-rtti -fno-plt -flto
15 SANITIZEOPTS=-fsanitize=address,undefined
17 # OpenBSD, tested with GCC 4.9.3 / Clang++ 4/5 and gmake:
19 #CXXOPTS=-std=c++11 -Os -Wall -fno-rtti
23 # (shutdown command not available for OpenBSD yet).
25 # FreeBSD: use clang++ by default, supports sanitizers, requires linking with -lrt
26 # Cannot use -fno-rtti: apparently prevents exception handling from working properly.
28 #CXXOPTS=-std=c++11 -Os -Wall
31 #SANITIZEOPTS=-fsanitize=address,undefined
33 # MacOS: use Linux settings, but don't build shutdown: