aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2020-05-25 19:24:00 +0000
committerDaniel Eklöf <daniel@ekloef.se>2020-05-25 19:24:00 +0000
commitae27a921533e2a851dd68bcd523291a400819d51 (patch)
tree299544107ea0afc1e34f9bd644a4e34d38e78259
parentreadme: document work around for GCC 10.1 O2+PGO regression (diff)
readme: mention that -O3 is default in release builds
-rw-r--r--README.md4
1 files changed, 3 insertions, 1 deletions
diff --git a/README.md b/README.md
index 9c7e19cb..0035bd6d 100644
--- a/README.md
+++ b/README.md
@@ -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