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 12:02:54 +0000
commit84fe48acbb712b177fc4f6de847a420319a971d5 (patch)
treed5929a12c2b3edd0626a18abaaaefd86e26a92bb
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 0e0f8ddd..4bfef825 100644
--- a/INSTALL.md
+++ b/INSTALL.md
@@ -157,6 +157,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