Some weird bug with non gnu-make

Marc Espie
Wed Jul 11 05:55:00 GMT 2001

I figured out what confused libtool.

Turns out I'm configuring gcc with CFLAGS="-O2 -g "

So, this ends up as
CFLAGS=-O2 -g 
in the Makefile (note the space).
However, bsd-make does strip the space at the end of the line (it probably
shouldn't, but that's the way it is...) and this is enough to confuse
libtool utterly...

I don't exactly know where to fix that. I believe that libtool should at
least be changed not to worry about spaces in the command line it invokes.

More information about the Gcc-bugs mailing list