README: install::other: do a release build, and mention profile guided

This commit is contained in:
Daniel Eklöf 2020-01-11 14:59:57 +01:00
parent d86b0ddc21
commit 9f3d860e61
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F

View file

@ -279,12 +279,16 @@ To build, first, create a build directory, and switch to it:
mkdir -p bld/debug && cd bld/debug
```
Second, configure the build (if you intend to install it globally, you
Second, configure[^2] the build (if you intend to install it globally, you
might also want `--prefix=/usr`):
```sh
meson --buildtype=debug ../..
meson --buildtype=release ../..
```
[^2]: for advanced users: a profile guided build will have
significantly better performance; take a look at
[PKDBUILD](PKGBUILD) to see how this can be done.
Three, build it:
```sh
ninja