Fix mistakes in cptest asserts
[oweals/dinit.git] / configs / mconfig.Linux
1 # Installation path options.
2
3 SBINDIR=/sbin
4 MANDIR=/usr/share/man
5 SYSCONTROLSOCKET=/dev/dinitctl
6
7
8 # General build options.
9
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.txt file for more information.
12 CXX=g++
13 CXXOPTS=-D_GLIBCXX_USE_CXX11_ABI=1 -std=c++11 -Os -Wall -fno-rtti -fno-plt -flto
14 LDFLAGS=-flto -Os
15 BUILD_SHUTDOWN=yes
16 SANITIZEOPTS=-fsanitize=address,undefined
17
18 # Notes:
19 #   -D_GLIBCXX_USE_CXX11_ABI=1 : force use of new ABI, see above / BUILD.txt
20 #   -fno-rtti (optional) : Dinit does not require C++ Run-time Type Information
21 #   -fno-plt  (optional) : Recommended optimisation
22 #   -flto     (optional) : Perform link-time optimisation
23 #   -fsanitize=address,undefined :  Apply sanitizers (during unit tests)