From: Patrick Steinhardt Date: Thu, 19 Mar 2026 05:32:31 GMT Subject: Re: [PATCH 7/8] meson: compile compatibility sources separately Message-ID: In-Reply-To: <6b8e418a-cac4-40d0-8f1e-762b15911227@app.fastmail.com> On Tue, Mar 17, 2026 at 04:38:31PM +0100, Kristoffer Haugsbakk wrote: > 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,/ ? Yup, both of these make sense. Thanks! Patric