From 84fe48acbb712b177fc4f6de847a420319a971d5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Ekl=C3=B6f?= Date: Mon, 21 Dec 2020 12:24:47 +0100 Subject: [PATCH] install.md: mention that packagers should not use -march=native --- INSTALL.md | 4 ++++ 1 file changed, 4 insertions(+) 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