aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2020-12-21 11:24:29 +0000
committerDaniel Eklöf <daniel@ekloef.se>2020-12-21 11:24:29 +0000
commit5a1dcbb04dcd4246b1b822311f0f37c5a8d2988d (patch)
tree116e0997cd214683e65b9410647dc9f9ca9738ca
parentchangelog: use -std=c11 instead of -std=c18 (diff)
install.md: add -Wno-profile-instr-unprofiled to clang flags in PGO builds
-rw-r--r--INSTALL.md5
1 files changed, 4 insertions, 1 deletions
diff --git a/INSTALL.md b/INSTALL.md
index f27cb475..a19f46ff 100644
--- a/INSTALL.md
+++ b/INSTALL.md
@@ -186,7 +186,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: