Index: [thread] [date] [subject] [author]
  From: Marcus Sundberg <mackan@stacken.kth.se>
  To  : ggi-develop@eskimo.com
  Date: Fri, 20 Aug 1999 06:30:01 +0000

Re: -g flag

Cesar Crusius wrote:
> 
> I just tried to ./configure libggi from the last developers snapshot. Here's
> the situation
> 
> * ./configure --disable-debug
> * ./configure --enable-debug=no
> * CFLAGS='-O2' ./configure
> 
> NONE of those generated Makefiles without the '-g' option. You can try
> yourself and
> check out the global Makefile for CFLAGS. If I remove '-g' from the
> configure.in part
> 
> if test "x$use_debug" = "xyes"; then
>   AC_DEFINE(DEBUG)
>   if test "$ac_cv_prog_gcc" = "yes"; then
>     CFLAGS="$CFLAGS -g -Wall"
>   fi
> fi
> 
> Then it works... The third option above would be a good thing to get working,
> since it's the may most people override default flag configurations.

Try
CFLAGS='-O2' ./configure --disable-debug
--disable-debug disables LibGGI's explicit '-g' flag, but autoconf
may still add one on it's own.

//Marcus
-- 
-------------------------------+------------------------------------
        Marcus Sundberg        | http://www.stacken.kth.se/~mackan/
 Royal Institute of Technology |       Phone: +46 707 295404
       Stockholm, Sweden       |   E-Mail: mackan@stacken.kth.se



Index: [thread] [date] [subject] [author]