From 4fe95e6354dc7ed9009d53d8a46ad2d5e327d0d6 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 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