formatting in readme

This commit is contained in:
isildur-g
2024-03-06 15:50:26 +01:00
parent 67452eebe3
commit d40367fad8

View File

@@ -117,15 +117,19 @@ Assuming an existing HomeBrew installation:
In NetBSD you will almost certainly need to have a newer compiler installed. 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 Using the example of gcc12 from pkgsrc, one will need to set three
environment variables before starting: environment variables before starting:
```
export CC="/usr/pkg/gcc12/bin/cc" export CC="/usr/pkg/gcc12/bin/cc"
export CXX="/usr/pkg/gcc12/bin/g++" export CXX="/usr/pkg/gcc12/bin/g++"
export CXXFLAGS="-gdwarf-4 -Wno-redundant-move" export CXXFLAGS="-gdwarf-4 -Wno-redundant-move"
```
In FreeBSD similarly, using gcc12 from pkg In FreeBSD similarly, using gcc12 from pkg
```
export CC=/usr/local/bin/gcc export CC=/usr/local/bin/gcc
export CXX=/usr/local/bin/g++ export CXX=/usr/local/bin/g++
export CXXFLAGS="-gdwarf-4" export CXXFLAGS="-gdwarf-4"
```
Then continue with the build as below. Then continue with the build as below.