install.md: mention that packagers should not use -march=native

This commit is contained in:
Daniel Eklöf 2020-12-21 12:24:47 +01:00
parent 5a1dcbb04d
commit 4fe95e6354
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F

View file

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