diff -ur sdcc.orig/configure sdcc/configure
--- sdcc.orig/configure 2006-07-25 14:56:37.000000000 +0200
+++ sdcc/configure 2007-02-06 10:34:36.000000000 +0100
@@ -4523,7 +4523,7 @@
echo "${ECHO_T}$sdcc_cv_CCggdb" >&6
if test "$sdcc_cv_CCggdb" = "yes"; then
- CFLAGS="-ggdb ${CFLAGS}"
+: CFLAGS="-ggdb ${CFLAGS}"
fi
diff -ur sdcc.orig/configure.in sdcc/configure.in
--- sdcc.orig/configure.in 2006-07-25 14:56:37.000000000 +0200
+++ sdcc/configure.in 2007-02-06 10:33:56.000000000 +0100
@@ -327,7 +327,7 @@
# This is the first time when CFLAGS are set/modified!!
adl_DD_COPT(CC, ggdb)
if test "$sdcc_cv_CCggdb" = "yes"; then
- CFLAGS="-ggdb ${CFLAGS}"
+: CFLAGS="-ggdb ${CFLAGS}"
fi
adl_DD_COPT(CC, pipe)
diff -ur sdcc.orig/sim/ucsim/configure sdcc/sim/ucsim/configure
--- sdcc.orig/sim/ucsim/configure 2006-06-18 23:08:05.000000000 +0200
+++ sdcc/sim/ucsim/configure 2007-02-06 10:36:13.000000000 +0100
@@ -11816,11 +11816,11 @@
echo "${ECHO_T}$ucsim_cv_CXXgstabs" >&6
if test "$ucsim_cv_CXXgstabs" = "yes"; then
- gopt="-gstabs+ -g3"
+: gopt="-gstabs+ -g3"
elif test "$ucsim_cv_CXXggdb" = "yes"; then
- gopt="-ggdb -g3"
+: gopt="-ggdb -g3"
else
- gopt="-g"
+: gopt="-g"
fi
if test "$CXXFLAGS"x = x ;then
CXXFLAGS="$gopt"
diff -ur sdcc.orig/sim/ucsim/configure.in sdcc/sim/ucsim/configure.in
--- sdcc.orig/sim/ucsim/configure.in 2006-06-18 23:08:05.000000000 +0200
+++ sdcc/sim/ucsim/configure.in 2007-02-06 10:35:38.000000000 +0100
@@ -387,11 +387,11 @@
DD_COPT(CXX, ggdb)
DD_COPT(CXX, gstabs)
if test "$ucsim_cv_CXXgstabs" = "yes"; then
- gopt="-gstabs+ -g3"
+: gopt="-gstabs+ -g3"
elif test "$ucsim_cv_CXXggdb" = "yes"; then
- gopt="-ggdb -g3"
+: gopt="-ggdb -g3"
else
- gopt="-g"
+: gopt="-g"
fi
if test "$CXXFLAGS"x = x ;then
CXXFLAGS="$gopt"