Fix documentation snippets

- zsh doesn't like "export var+=value", make it two steps
- meson was complaining with "ERROR: Must specify at least one directory name.", so add the relative "../.."
This commit is contained in:
jeromenerf 2020-11-06 21:30:39 +01:00
parent 6f28c16023
commit dbac3e4e4a

View file

@ -127,8 +127,9 @@ mkdir -p bld/release && cd bld/release
### Release build
```sh
export CFLAGS+="-O3 -march=native -fno-plt"
meson --buildtype=release --prefix=/usr -Db_lto=true
CFLAGS+="-O3 -march=native -fno-plt"
export CFLAGS
meson --buildtype=release --prefix=/usr -Db_lto=true ../..
```
For performance reasons, I strongly recommend doing a