changeset 108067:b0957e256d91

* configure.in (REAL_CFLAGS, CFLAGS): Restore -g for gcc.
author Dan Nicolaescu <dann@ics.uci.edu>
date Thu, 22 Apr 2010 09:37:58 -0700
parents 47a124b50bbf
children c15cb68e177f
files ChangeLog configure.in
diffstat 2 files changed, 6 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Thu Apr 22 14:07:37 2010 +0200
+++ b/ChangeLog	Thu Apr 22 09:37:58 2010 -0700
@@ -1,3 +1,7 @@
+2010-04-22  Dan Nicolaescu  <dann@ics.uci.edu>
+
+	* configure.in (REAL_CFLAGS, CFLAGS): Restore -g for gcc.
+
 2010-04-22  Miles Bader  <Miles Bader <miles@gnu.org>>
 
 	* configure.in: Get rid of "unix" pre-defined macro when
--- a/configure.in	Thu Apr 22 14:07:37 2010 +0200
+++ b/configure.in	Thu Apr 22 09:37:58 2010 -0700
@@ -917,7 +917,7 @@
 
 /* Get the CFLAGS for tests in configure.  */
 #ifdef __GNUC__
-configure___ CFLAGS=C_OPTIMIZE_SWITCH '${SPECIFIED_CFLAGS}'
+configure___ CFLAGS=-g C_OPTIMIZE_SWITCH '${SPECIFIED_CFLAGS}'
 #else
 configure___ CFLAGS='${SPECIFIED_CFLAGS}'
 #endif
@@ -926,7 +926,7 @@
 
 /* Get the CFLAGS for real compilation.  */
 #ifdef __GNUC__
-configure___ REAL_CFLAGS=C_OPTIMIZE_SWITCH C_WARNINGS_SWITCH ${PROFILING_CFLAGS} '${SPECIFIED_CFLAGS}'
+configure___ REAL_CFLAGS=-g C_OPTIMIZE_SWITCH C_WARNINGS_SWITCH ${PROFILING_CFLAGS} '${SPECIFIED_CFLAGS}'
 #else
 configure___ REAL_CFLAGS='${SPECIFIED_CFLAGS}'
 #endif