From c1d08342a3e8cf3a3b94902a0505f03c3b96dbf5 Mon Sep 17 00:00:00 2001 From: Davin McCall Date: Thu, 18 Jan 2018 21:53:45 +0000 Subject: [PATCH] Add example mconfig options for FreeBSD. --- mconfig | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/mconfig b/mconfig index b4ed4b9..33fe44e 100644 --- a/mconfig +++ b/mconfig @@ -22,5 +22,12 @@ SANITIZEOPTS=-fsanitize=address,undefined #SANITIZEOPTS= # (shutdown command not available for OpenBSD yet). +# FreeBSD: use clang++ by default, supports sanitizers, requires linking with -lrt +#CXX=clang++ +#CXXOPTS=-std=gnu++11 -Os -Wall -fno-rtti +#EXTRA_LIBS=-lrt +#BUILD_SHUTDOWN=no +#SANITIZEOPTS=-fsanitize=address,undefined + # MacOS: use Linux settings, but don't build shutdown: #BUILD_SHUTDOWN=no -- 2.25.1