Re: RFC: Reworking build flags — Multiple toolchains support

2023-12-01 Thread Wookey
On 2023-11-30 21:10 +0100, Helmut Grohne wrote: [lots of sensible things] > I'm not sure whether per-setting toolchain actually is that useful in > the end. I would expect most users of this to want to change them all at > once. For instance, changing CC to clang without also updating > CFLAGS ac

Re: RFC: Reworking build flags — «*_FOR_BUILD» flags handling

2023-12-01 Thread Helmut Grohne
Hi Guillem, On Thu, Nov 30, 2023 at 01:17:37PM +0100, Guillem Jover wrote: > [ See . ] > > This problem is related to the *_FOR_BUILD support (to specify flags for > the build instead of host system during cross-building), which got > re

Re: RFC: Reworking build flags — Multiple toolchains support

2023-12-01 Thread Helmut Grohne
On Thu, Nov 30, 2023 at 01:35:17PM +0100, Guillem Jover wrote: > This problem is related to the current (dpkg) policy where flags target > the current default compiler and version for the specific vendor, but > some of the flags emitted are toolchain specific and can break when > used with another