# Installation path options. SBINDIR=/sbin MANDIR=/usr/share/man SYSCONTROLSOCKET=/dev/dinitctl # General build options. # FreeBSD: use clang++ by default, supports sanitizers, requires linking with -lrt # Cannot use -fno-rtti: apparently prevents exception handling from working properly. CXX=clang++ CXXOPTS=-std=c++11 -Os -Wall LDFLAGS=-lrt BUILD_SHUTDOWN=no SANITIZEOPTS=-fsanitize=address,undefined