aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2020-05-30 09:02:12 +0000
committerDaniel Eklöf <daniel@ekloef.se>2020-05-30 09:02:12 +0000
commitb2733dd4b27cc30d29a1175359f31f7ef0823dbf (patch)
tree8a0d55c1c4b4d1fe6377e0d5fc34b3f7b68dcd20
parentreadme: add link to "running the new build" at the end of the release build section (diff)
readme: GCC requires -Wno-missing-profile in a PGO build
-rw-r--r--README.md9
1 files changed, 6 insertions, 3 deletions
diff --git a/README.md b/README.md
index d681ea7b..371be750 100644
--- a/README.md
+++ b/README.md
@@ -442,9 +442,12 @@ build.
##### Profile Guided Optimization
First, make sure you have configured a [release](#release-build) build
-directory. If using Clang, make sure to add
-`-Wno-ignored-optimization-argument -Wno-profile-instr-out-of-date` to
-`CFLAGS`.
+directory, but:
+
+If using Clang, make sure to add `-Wno-ignored-optimization-argument
+-Wno-profile-instr-out-of-date` to `CFLAGS`.
+
+If using GCC, make sure to add `-Wno-missing-profile` to `CFLAGS`.
Then, tell meson we want to _generate_ profile data: