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


Reply via email to