readme: GCC requires -Wno-missing-profile in a PGO build

This commit is contained in:
Daniel Eklöf 2020-05-30 11:02:12 +02:00
parent b105ee5edd
commit b2733dd4b2
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F

View file

@ -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: