From: Kristoffer Haugsbakk Date: Tue, 17 Mar 2026 15:38:31 GMT Subject: Re: [PATCH 7/8] meson: compile compatibility sources separately Message-ID: <6b8e418a-cac4-40d0-8f1e-762b15911227@app.fastmail.com> In-Reply-To: <20260310-b4-pks-build-infra-improvements-v1-7-ec75d0710d6a@pks.im> On Tue, Mar 10, 2026, at 18:52, Patrick Steinhardt wrote: > In the next commit we're about to introduce a precompiled header for > "git-compat-util.h". The consequence of this change is that we'll > implicitly include that header for every compilation unit that uses the > precompiled headers. > > This is okay for our "normal" library sources and our builtins. But some > of our compatibility sources do not include the header on purpose, and > doing so would cause compileir errors. s/compileir/compiler/ (or /compilation) > > Prepare for this change by splitting out compatibility sources into > their static library. Like this we can selectively enable precompiled s/Like this/Like this,/ ? > headers for the library sources. > > Signed-off-by: Patrick Steinhardt >[snip]