mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-27 07:58:07 -04:00
readme: GCC requires -Wno-missing-profile in a PGO build
This commit is contained in:
parent
b105ee5edd
commit
b2733dd4b2
1 changed files with 6 additions and 3 deletions
|
|
@ -442,9 +442,12 @@ build.
|
||||||
##### Profile Guided Optimization
|
##### Profile Guided Optimization
|
||||||
|
|
||||||
First, make sure you have configured a [release](#release-build) build
|
First, make sure you have configured a [release](#release-build) build
|
||||||
directory. If using Clang, make sure to add
|
directory, but:
|
||||||
`-Wno-ignored-optimization-argument -Wno-profile-instr-out-of-date` to
|
|
||||||
`CFLAGS`.
|
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:
|
Then, tell meson we want to _generate_ profile data:
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue