aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2020-12-21 11:24:47 +0000
committerDaniel Eklöf <daniel@ekloef.se>2020-12-21 11:24:47 +0000
commit4fe95e6354dc7ed9009d53d8a46ad2d5e327d0d6 (patch)
treeb60305dee869a18331ca287a0077d975bd45635a
parentinstall.md: add -Wno-profile-instr-unprofiled to clang flags in PGO builds (diff)
install.md: mention that packagers should not use -march=native
-rw-r--r--INSTALL.md4
1 files changed, 4 insertions, 0 deletions
diff --git a/INSTALL.md b/INSTALL.md
index a19f46ff..f5cbc184 100644
--- a/INSTALL.md
+++ b/INSTALL.md
@@ -142,6 +142,10 @@ optimization.
In addition to being faster, PGO builds also tend to be smaller than
regular `-O3` builds.
+**Note**: if you are packaging foot, you should probably remove
+`-march=native`, as that may cause gcc/clang to emit instructions that
+may not be available on other computers.
+
#### Size optimized