* Rainer Orth wrote on Wed, Nov 17, 2010 at 09:15:55PM CET: > > * One cannot -lm to libquadmath_la_LIBADD since that gets passed to nm, > which doesn't know (and doesn't need to be run) -lm.
That's a bug in the rule using nm then, though. > Again, as in > libjava/Makefile.am, I've moved it to libquadmath_la_LDFLAGS instead. Using *_LDFLAGS for -l flags is wrong though because it might mess up the ordering of libraries, at least for static linking. You might get away with this here because -lm is probably added from some other bit as well, but in general that is not a good idea. Cheers, Ralf