Fix issue with incorrect acquisition counts with waits_for dependencies.
[oweals/dinit.git] / mconfig
1 # Installation path options.
2
3 SBINDIR=/sbin
4 MANDIR=/usr/share/man
5
6
7 # General build options. Uncomment the options appropriate for your system.
8
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.
11 CXX=g++
12 CXXOPTS=-D_GLIBCXX_USE_CXX11_ABI=1 -std=c++11 -Os -Wall -fno-rtti -fno-plt -flto
13 LDFLAGS=-flto
14 BUILD_SHUTDOWN=yes
15 SANITIZEOPTS=-fsanitize=address,undefined
16
17 # OpenBSD, tested with GCC 4.9.3 / Clang++ 4/5 and gmake:
18 #CXX=clang++
19 #CXXOPTS=-std=c++11 -Os -Wall -fno-rtti
20 #LDFLAGS=
21 #BUILD_SHUTDOWN=no
22 #SANITIZEOPTS=
23 # (shutdown command not available for OpenBSD yet).
24
25 # FreeBSD: use clang++ by default, supports sanitizers, requires linking with -lrt
26 # Cannot use -fno-rtti: apparently prevents exception handling from working properly.
27 #CXX=clang++
28 #CXXOPTS=-std=c++11 -Os -Wall
29 #LDFLAGS=-lrt
30 #BUILD_SHUTDOWN=no
31 #SANITIZEOPTS=-fsanitize=address,undefined
32
33 # MacOS: use Linux settings, but don't build shutdown:
34 #BUILD_SHUTDOWN=no