From: Davin McCall Date: Sun, 11 Feb 2018 15:02:25 +0000 (+0000) Subject: On FreeBSD, build without -fno-rtti. X-Git-Tag: v0.1.0~28 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=10a67dbea43f602961405ca6114b01f2fdb6bb11;p=oweals%2Fdinit.git On FreeBSD, build without -fno-rtti. It seems to stop exception handling from being able to recognise which exception was thrown. --- diff --git a/mconfig b/mconfig index 68a0b58..0f65218 100644 --- a/mconfig +++ b/mconfig @@ -23,8 +23,9 @@ SANITIZEOPTS=-fsanitize=address,undefined # (shutdown command not available for OpenBSD yet). # 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 -fno-rtti +#CXXOPTS=-std=c++11 -Os -Wall #LDFLAGS=-lrt #BUILD_SHUTDOWN=no #SANITIZEOPTS=-fsanitize=address,undefined