Add example mconfig options for FreeBSD.
authorDavin McCall <davmac@davmac.org>
Thu, 18 Jan 2018 21:53:45 +0000 (21:53 +0000)
committerDavin McCall <davmac@davmac.org>
Thu, 18 Jan 2018 21:53:45 +0000 (21:53 +0000)
mconfig

diff --git a/mconfig b/mconfig
index b4ed4b95a0d6c9ecc8141cbb39aa7799b836a9f0..33fe44e4a8b72e1c9c3a01d0ba4302692916a6fb 100644 (file)
--- 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