enable-debug considered pointless

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: pgsql-hackers(at)postgreSQL(dot)org
Subject: enable-debug considered pointless
Date: 2001-02-19 23:08:24
Message-ID: 2720.982624104@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

I notice that if the platform's template doesn't set CFLAGS, then
configure will give you -g in CFLAGS whether you ask for it or not
(courtesy of AC_PROG_CC). The --enable-debug configure switch thus does
not function as advertised. If we are going to say that --enable-debug
isn't recommended for production, don't you think there should be a way
to turn it off? Perhaps this means that all the template files should
force a setting of CFLAGS; or else that we should not use the stock
version of AC_PROG_CC. Or maybe just set CFLAGS to empty right before
AC_PROG_CC?

regards, tom lane

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Hiroshi Inoue 2001-02-19 23:28:47 Re: [HACKERS] Re: v7.1b4 bad performance
Previous Message Lamar Owen 2001-02-19 23:07:05 Re: old include files (was Re: PHP 4.0.4pl1 / Beta 5)