summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2009-10-23 14:57:58 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2009-10-23 14:57:58 +0000
commit05eb1fb57667af23a6c93b335cf6b1b36a1f398e (patch)
treeb009b6f9568d1587245e09364785701d05755f31
parent2009-10-23 Ralf Corsépius <ralf.corsepius@rtems.org> (diff)
downloadrtems-05eb1fb57667af23a6c93b335cf6b1b36a1f398e.tar.bz2
Remove RTEMS_CFLAGS.
-rw-r--r--c/src/aclocal/prog-cc.m48
-rw-r--r--c/src/automake/compile.am4
-rw-r--r--cpukit/automake/compile.am2
3 files changed, 3 insertions, 11 deletions
diff --git a/c/src/aclocal/prog-cc.m4 b/c/src/aclocal/prog-cc.m4
index 96a276a67f..50ebe4e8cd 100644
--- a/c/src/aclocal/prog-cc.m4
+++ b/c/src/aclocal/prog-cc.m4
@@ -35,14 +35,6 @@ GCCSPECS="-B\$(PROJECT_ROOT)/lib/ -B\$(PROJECT_ROOT)/$RTEMS_BSP/lib/"
GCCSPECS="${GCCSPECS} -specs bsp_specs -qrtems"])
AC_SUBST(GCCSPECS)
-AS_IF([test "$GCC" = yes],[
-RTEMS_CFLAGS="$RTEMS_CFLAGS -Wall"
-# FIXME: This should be removed in production releases
-RTEMS_CFLAGS="$RTEMS_CFLAGS -Wimplicit-function-declaration -Wstrict-prototypes -Wnested-externs"
-m4_if([$1],,[],[RTEMS_CFLAGS="$RTEMS_CFLAGS $1"])
-])
-AC_SUBST(RTEMS_CFLAGS)
-
AS_IF([test x"$rtems_cv_gcc_isystem" = xyes],[
RTEMS_CPPFLAGS="-isystem \$(PROJECT_INCLUDE)"],[
RTEMS_CPPFLAGS="-I\$(PROJECT_INCLUDE)"
diff --git a/c/src/automake/compile.am b/c/src/automake/compile.am
index 6ba8636096..f0c5466ae8 100644
--- a/c/src/automake/compile.am
+++ b/c/src/automake/compile.am
@@ -11,6 +11,6 @@ CCAS = @CCAS@ $(GCCSPECS)
##
AM_CPPFLAGS = @RTEMS_CPPFLAGS@
-AM_CFLAGS = @RTEMS_CFLAGS@
-AM_CXXFLAGS = @RTEMS_CFLAGS@
+AM_CFLAGS =
+AM_CXXFLAGS =
AM_CCASFLAGS = @RTEMS_CCASFLAGS@
diff --git a/cpukit/automake/compile.am b/cpukit/automake/compile.am
index 1997003d84..3d814261b6 100644
--- a/cpukit/automake/compile.am
+++ b/cpukit/automake/compile.am
@@ -3,5 +3,5 @@
##
AM_CPPFLAGS = @RTEMS_CPPFLAGS@
-AM_CFLAGS = @RTEMS_CFLAGS@
+AM_CFLAGS =
AM_CCASFLAGS = @RTEMS_CCASFLAGS@