mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-05 04:06:08 -05:00
install.md: add -Wno-profile-instr-unprofiled to clang flags in PGO builds
This commit is contained in:
parent
505680087c
commit
69836ab795
1 changed files with 4 additions and 1 deletions
|
|
@ -201,7 +201,10 @@ later have a regression where PGO with `-O2` is **much** slower.
|
|||
If you are using Clang instead of GCC, use the following `CFLAGS` instead:
|
||||
|
||||
```sh
|
||||
export CFLAGS="$CFLAGS -O3 -march=native -Wno-ignored-optimization-argument -Wno-profile-instr-out-of-date"
|
||||
export CFLAGS="$CFLAGS -O3 -march=native \
|
||||
-Wno-ignored-optimization-argument \
|
||||
-Wno-profile-instr-out-of-date \
|
||||
-Wno-profile-instr-unprofiled"
|
||||
```
|
||||
|
||||
Then, tell meson we want to _generate_ profiling data, and build:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue