summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--cpukit/ChangeLog6
-rw-r--r--cpukit/aclocal/prog-cc.m42
2 files changed, 7 insertions, 1 deletions
diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog
index 7eedbb0e29..55ebb28e92 100644
--- a/cpukit/ChangeLog
+++ b/cpukit/ChangeLog
@@ -1,3 +1,9 @@
+2002-11-15 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
+
+ * aclocal/prog-cc.m4: Acknowledge configuration-time CFLAGS.
+ * automake/compile.am: Acknowledge configuration-time CFLAGS.
+ Remove CFLAGS_DEFAULT.
+
2002-11-11 Joel Sherrill <joel@OARcorp.com>
* aclocal/version.m4: Updated to rtems-ss-20021111.
diff --git a/cpukit/aclocal/prog-cc.m4 b/cpukit/aclocal/prog-cc.m4
index c3738bec09..67689c6ccc 100644
--- a/cpukit/aclocal/prog-cc.m4
+++ b/cpukit/aclocal/prog-cc.m4
@@ -33,7 +33,7 @@ if test "$GCC" = yes; then
]
m4_if([$1],,[],[CPPFLAGS="$CPPFLAGS $1"])
[
-CFLAGS="-g -Wall"
+CFLAGS=${CFLAGS--g -Wall}
fi
dnl FIXME: HACK for egcs/cygwin mixing '\\' and '/' in gcc -print-*