* Hanno Böck [20. Dec 2008]: > The Makefiles of openvas-server-2.0.0 don't respect LDFLAGS, attached patch > will fix that. Please apply. > > openvas-mkrand: $(OBJS) > - $(CC) $(OBJS) -o openvas-mkrand -lm > + $(CC) $(LDFLAGS) $(OBJS) -o openvas-mkrand -lm
Could you explain why you are passing LDFLAGS directly to gcc? This may work in some or most cases, but might lead to trouble with LDFLAGS gcc does not understand. Wouldn't it be better to use -Xlinker or -Wl, for that? I'm sure there is a rationale behind your patch, I'm just not quite sure I understand it correctly. ;) Regards, Michael -- Michael Wiegand | OpenPGP key: D7D049EC | http://www.intevation.de/ Intevation GmbH, Neuer Graben 17, 49074 Osnabrück | AG Osnabrück, HR B 18998 Geschäftsführer: Frank Koormann, Bernhard Reiter, Dr. Jan-Oliver Wagner _______________________________________________ Openvas-devel mailing list Openvas-devel@wald.intevation.org http://lists.wald.intevation.org/mailman/listinfo/openvas-devel