Peter Eisentraut <[EMAIL PROTECTED]> writes:
> Tom Lane writes:
>> BTW, it appears to me that configure won't even add the -g unless it
>> thinks the compiler is gcc ... ie, --enable-debug is a no-op on non-gcc
>> compilers. Peter, isn't that a bug?
> In case you're referring to
> if test "$enable_debug" = yes && test "$ac_cv_prog_cc_g" = yes; then
> CFLAGS="$CFLAGS -g"
> fi
> this has nothing to do with GCC. $ac_cv_prog_cc_g is set to yes if the
> compiler understands -g.
My mistake, looked at "prog_cc_g" and saw "prog_gcc" :-(
regards, tom lane
- Re: [GENERAL] performance hit with --enable-debug Peter Eisentraut
- [GENERAL] Re: performance hit with --enable-debug Thomas T. Thai
- Re: [GENERAL] Re: performance hit with --enable-... Bruce Momjian
- Re: [GENERAL] Re: performance hit with --enable-... Tom Lane
- Re: [GENERAL] Re: performance hit with --ena... Peter Eisentraut
- Re: [GENERAL] performance hit with --enable-debug Bruce Momjian
- Re: [GENERAL] performance hit with --enable-debu... Tom Lane
- Re: [GENERAL] performance hit with --enable-... Bruce Momjian
- Re: [GENERAL] performance hit with --ena... Peter Eisentraut
- Re: [GENERAL] performance hit with ... Bruce Momjian
- Re: [GENERAL] performance hit with --enable-... Patrick Welche
