Date: Mon, 09 Sep 2024 18:11:31 +0200 From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= <des@FreeBSD.org> To: Sad Clouds <cryintothebluesky@gmail.com> Cc: freebsd-questions@FreeBSD.org Subject: Re: Reusing previous object files after modifying src.conf Message-ID: <86bk0w24ek.fsf@ltc.des.dev> In-Reply-To: <20240908104235.2a4cd4ad0ff014f6366cb273@gmail.com> (Sad Clouds's message of "Sun, 8 Sep 2024 10:42:35 %2B0100") References: <20240908104235.2a4cd4ad0ff014f6366cb273@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Sad Clouds <cryintothebluesky@gmail.com> writes: > Does anyone know if it is safe to reuse previous object files when > building FreeBSD from source and then modifying src.conf? Short answer: no. Long answer: It depends on what you change. If you just add, remove, or change comments or blank lines, then sure. If you add, remove, or change build options, then it depends on the option. Most of them just add or remove files, but some add or remove compile-time flags, and make won't know which files need rebuilding. Unless you know exactly what you're doing and are ready to deal with the consequences, you're better off running cleanworld after changing src.conf. DES --=20 Dag-Erling Sm=C3=B8rgrav - des@FreeBSD.org
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86bk0w24ek.fsf>