mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-05 04:06:08 -05: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
|
||||
|
||||
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:
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue