From 4739c76a1152bacc6c4fa61b6f2636ca1bb2f055 Mon Sep 17 00:00:00 2001 From: isildur-g Date: Wed, 6 Mar 2024 15:50:26 +0100 Subject: [PATCH] formatting in readme --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index fb9b1bba..7bf2d046 100644 --- a/README.md +++ b/README.md @@ -117,15 +117,19 @@ Assuming an existing HomeBrew installation: In NetBSD you will almost certainly need to have a newer compiler installed. Using the example of gcc12 from pkgsrc, one will need to set three environment variables before starting: +``` export CC="/usr/pkg/gcc12/bin/cc" export CXX="/usr/pkg/gcc12/bin/g++" export CXXFLAGS="-gdwarf-4 -Wno-redundant-move" +``` In FreeBSD similarly, using gcc12 from pkg +``` export CC=/usr/local/bin/gcc export CXX=/usr/local/bin/g++ export CXXFLAGS="-gdwarf-4" +``` Then continue with the build as below.