On Tue, 2 Oct 2007 23:42:02 +0200
Diman Todorov <diman.todorov_at_univie.ac.at> wrote:
> is it a good idea to compile liblua with the global CFLAGS?
>
> cheers,
> Diman
Yes, if you want it to inherit from the optimisation flags used by the rest of Nmap i.e.:
CFLAGS="-O2 -march=pentium -mtune=pentium" \
./configure
Or else you have to edit liblua's Makefile each time to do that. Autoconf defaults to "-O2 -g" which isn't very different from the "-O2 -Wall" which is what liblua uses for optimisation flags without my patch. Liblua's specific CFLAGS are handled by LUAFLAGS. A better solution would be to define global optimisation flags probably, but that would require more "surgery" ;)
_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://SecLists.Org
Received on Oct 02 2007