Hi,
configure with --enable-debug does not seem to add "-g" to CFLAGS while
compiling with gcc. Guess we will need to change configure.in as below:
***************
# supply -g if --enable-debug
! if test "$enable_debug" = yes && test "$ac_cv_prog_cc_g" = yes; then
CFLAGS="$CFLAGS -g"
fi
--- 300,315 ----
# supply -g if --enable-debug
! if test "$enable_debug" = yes && (test "$ac_cv_prog_cc_g" = yes ||
! test "$ac_cv_prog_gcc_g" = yes); then
CFLAGS="$CFLAGS -g"
fi
Should I submit a patch for this?
Regards,
Nikhils
--
EnterpriseDB http://www.enterprisedb.com
Responses
pgsql-hackers by date
| Next: | From: Gavin Sherry | Date: 2007-02-02 08:32:08 |
| Subject: Re: --enable-debug does not work with gcc |
| Previous: | From: Jeremy Drake | Date: 2007-02-02 08:15:15 |
| Subject: Re: writing new regexp functions |