diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2020-05-30 09:02:12 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2020-05-30 09:02:12 +0000 |
| commit | b2733dd4b27cc30d29a1175359f31f7ef0823dbf (patch) | |
| tree | 8a0d55c1c4b4d1fe6377e0d5fc34b3f7b68dcd20 | |
| parent | readme: 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.md | 9 |
1 files changed, 6 insertions, 3 deletions
@@ -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: |
