Richard Biener <richard.guent...@gmail.com> writes: > On Wed, Aug 28, 2024 at 11:10 AM Marc <d...@kataplop.net> wrote: >> >> Hello, >> >> Gentle reminder for this simple autoconf patch :) > > OK. > > Note that completely wiping LIBS might remove requirements detected earlier, > like some systems require explicit -lc for example. I would instead not clear > LIBS here and instead allow the possible duplicates through CRAB_LIBS. > YMMV of course.
Oh, that's a good remark. I've simply followed this suggestion that was given on #gcc and also took inspiration from gcc/configure.ac that has many instances of clearing LIBS like that. I think I'll merge it like that, unless you see any reason this pattern would cause issue here (top level) and not in gcc/configure. Thank you, Marc