From ae27a921533e2a851dd68bcd523291a400819d51 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Ekl=C3=B6f?= Date: Mon, 25 May 2020 21:24:00 +0200 Subject: [PATCH] readme: mention that -O3 is default in release builds --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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