Nmap Development mailing list archives

Re: Two patches against 4.22SOC6 (liblua modules in libexec and liblua cflags)


From: "Christoph J. Thompson" <cthompson () libertysurf fr>
Date: Wed, 3 Oct 2007 00:28:50 +0200

On Tue, 2 Oct 2007 23:42:02 +0200
Diman Todorov <diman.todorov () 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


Current thread: