Re: Reusing previous object files after modifying src.conf
- In reply to: Dag-Erling_Smørgrav : "Re: Reusing previous object files after modifying src.conf"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 09 Sep 2024 20:04:06 UTC
On Mon, 09 Sep 2024 18:11:31 +0200 Dag-Erling Smørgrav <des@FreeBSD.org> wrote: > 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 > -- > Dag-Erling Smørgrav - des@FreeBSD.org Hello, thanks for the in depth explanation. I will just clean all object files each time and build different variants of FreeBSD release with different src.conf settings.