From ff8c188013de39009dcc5da371b727e4bbe4fa82 Mon Sep 17 00:00:00 2001 From: Peter Gervai Date: Tue, 28 Jul 2020 13:54:34 +0200 Subject: [PATCH] rebuild from a clean state after system changes --- BUILD.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/BUILD.md b/BUILD.md index 49bc096..06aa293 100644 --- a/BUILD.md +++ b/BUILD.md @@ -57,6 +57,14 @@ as submodules. The result will not be installable on the system without this rep remaining intact. Please read the compatibility primer first to understand which options you need or don't need on your system. +##### Re-building +When you want to recompile and your system had changes (upgraded libs, compiler, switching between clang and gcc, etc.) you are advised to start from a clean state: + +``` +git reset --hard && git clean -f -x -d +./autogen.sh +./configure --prefix=... +``` ### Additional build options