the configure file anyway. - Rather than patching the "-g -O2" away, set CFLAGS in any case -- even if it is emty --, so that autoconf will not even generate it.