From b2733dd4b27cc30d29a1175359f31f7ef0823dbf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Ekl=C3=B6f?= Date: Sat, 30 May 2020 11:02:12 +0200 Subject: [PATCH] readme: GCC requires -Wno-missing-profile in a PGO build --- README.md | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index d681ea7b..371be750 100644 --- a/README.md +++ b/README.md @@ -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: