readme: mention that -O3 is default in release builds

This commit is contained in:
Daniel Eklöf 2020-05-25 21:24:00 +02:00
parent 2541060ae4
commit ae27a92153
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F

View file

@ -321,7 +321,9 @@ more than twice as fast as a clang build.
foot when doing PGO builds and building with `-O2`; it is about 30-40%
slower compared to GCC 9.3.
The work around is simple: make sure you build with `-O3`.
The work around is simple: make sure you build with `-O3`. This is the
default with `meson --buildtype=release`, but e.g. `makepkg` can
override it (`makepkg` uses `-O2` by default).
## Installing