![]() |
|
Message-ID: <20250304202547.GV1827@brightrain.aerifal.cx> Date: Tue, 4 Mar 2025 15:25:47 -0500 From: Rich Felker <dalias@...c.org> To: Sertonix <sertonix@...teo.net> Cc: musl@...ts.openwall.com Subject: Re: configure: LIBCC auto detection not using {C,LD}FLAGS On Tue, Mar 04, 2025 at 08:15:16PM +0000, Sertonix wrote: > Hi, > > I noticed that the autodetection of LIBCC doesn't use the > CFLAGS/LDFLAGS variables. This means that the result of the auto > detection might be incorrect when --sysroot is set through CFLAGS/LDFLAGS > and not CC. Would it be may be better to use $LDFLAGS (or similar) in > tryldflag? You can't put things that change the *identity* of the compiler toolchain in CFLAGS or LDFLAGS. --sysroot has to go as part of CC, defining a different compiler. Rich
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.