autoconf
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Get rid of `-g' in CXXFLAGS


From: Braden McDaniel
Subject: Re: Get rid of `-g' in CXXFLAGS
Date: Sat, 02 Aug 2003 01:24:53 -0400

On Fri, 2003-08-01 at 23:44, Harlan Stenn wrote:
> It's not that hard to get rid of a flag.
> 
> nCFLAGS=
> for i in $CFLAGS
> do
>    case "$i" in
>      -g) ;;
>      *) nCFLAGS="$nCFLAGS $i" ;;
>    esac
> done
> CFLAGS=nCFLAGS

That will also purge -g if it was added explicitly by the user.

-- 
Braden McDaniel                           e-mail: <address@hidden>
<http://endoframe.com>                    Jabber: <address@hidden>





reply via email to

[Prev in Thread] Current Thread [Next in Thread]