Nmap Security Scanner
*Intro
*Ref Guide
*Install Guide
*Download
*Changelog
*Book
*Docs
Security Lists
*Nmap Hackers
*Nmap Dev
*Bugtraq
*Full Disclosure
*Pen Test
*Basics
*More
Security Tools
*Pass crackers
*Sniffers
*Vuln Scanners
*Web scanners
*Wireless
*Exploitation
*Packet crafters
*More
Site News
Site Search:
Exploit World
Advertising
About/Contact
Credits
Sponsors:
edgeos

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

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

From: Christoph J. Thompson <cthompson_at_libertysurf.fr>
Date: Wed, 3 Oct 2007 00:28:50 +0200

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

[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]