[Xastir] Turning off -g in compiling
Tom Russo
russo at bogodyn.org
Sat Oct 16 03:43:48 EDT 2004
On Fri, Oct 15, 2004 at 06:09:54PM -0700, we recorded a bogon-computron collision of the <archer at eskimo.com> flavor, containing:
> On Sat, 16 Oct 2004, Jason Cox wrote:
>
> > I am having a problem in turning of -g on the compiler. tryed
> > ./configure CFLAGS=-O2 but it still wnts to use debug.
>
> You can always edit src/Makefile and change the CFLAGS line there.
That's because the autoconf macro "XASTIR_COMPILER_FLAGS" forces "-g -O2" into
CFLAGS whether or not the user has specified CFLAGS preferences. That's
kinda rude of it. That should probably not happen as a matter of course
if the user has already specified a CFLAGS when configuring.
Until that's fixed, editing the makefile by hand as Curt suggests is the only
alternative.
--
Tom Russo KM5VY SAR502 DM64ux http://www.swcp.com/~russo/
Tijeras, NM QRPL#1592 K2#398 SOC#236 AHTB#1 http://www.qsl.net/~km5vy/
(1) Ignorance of your profession is best concealed by solemnity and silence,
which pass for profound knowledge upon the generality of mankind.
-------"Advice to Officers of the British Army", 1783
More information about the Xastir
mailing list