diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2005-01-05 17:52:33 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2005-01-05 17:52:33 +0000 |
commit | ea3f5598c074a510272ea7d0cb16b106697e388b (patch) | |
tree | 5d8516717b7f539c5ef169041f3874e9934e78c3 /c/src/aclocal/prog-cc.m4 | |
parent | 2005-01-05 Ralf Corsepius <ralf.corsepius@rtems.org> (diff) | |
download | rtems-ea3f5598c074a510272ea7d0cb16b106697e388b.tar.bz2 |
2005-01-05 Ralf Corsepius <ralf.corsepius@rtems.org>
* configure.ac: Pass CFLAGS to cpukit configure.
* aclocal/rtems-flags.m4: Remove (Unused).
* aclocal/prog-ccas.m4: Remove $(GCCSPECS).
* aclocal/env-rtemsbsp.m4:
Comment out CFLAGS_OPTIMIZE_V, CFLAGS_DEBUG_V, CPU_CFLAGS.
* aclocal/prog-cc.m4: Don't invoke _RTEMS_FLAGS to set up
RTEMS_CFLAGS.
* automake/compile.am: AM_CFLAGS = RTEMS_CFLAGS. Add AM_CXXFLAGS.
Remove CPPFLAGS, CFLAGS, CPU_CFLAGS, CFLAGS_OPTIMIZE, ASFLAGS.
Cleanup comments.
Diffstat (limited to 'c/src/aclocal/prog-cc.m4')
-rw-r--r-- | c/src/aclocal/prog-cc.m4 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/c/src/aclocal/prog-cc.m4 b/c/src/aclocal/prog-cc.m4 index 7b4335ca17..2267c5d720 100644 --- a/c/src/aclocal/prog-cc.m4 +++ b/c/src/aclocal/prog-cc.m4 @@ -10,8 +10,7 @@ AC_BEFORE([$0], [AC_PROG_CPP])dnl AC_BEFORE([$0], [AC_PROG_CC])dnl AC_BEFORE([$0], [RTEMS_CANONICALIZE_TOOLS])dnl -_RTEMS_FLAGS([CFLAGS], - ["\$(CPU_CFLAGS) \$(RTEMS_CFLAGS_\$(VARIANT_V)_V) \$(CFLAGS_\$(VARIANT_V)_V) -g"]) +CFLAGS=${CFLAGS-${CPU_CFLAGS} ${CFLAGS_OPTIMIZE_V}} RTEMS_CHECK_TOOL(CC,gcc) test -z "$CC" && \ @@ -39,6 +38,7 @@ if test "$GCC" = yes; then RTEMS_CFLAGS="$RTEMS_CFLAGS -Wall" m4_if([$1],,[],[RTEMS_CFLAGS="$RTEMS_CFLAGS $1"]) fi +AC_SUBST(RTEMS_CFLAGS) AS_IF([test x"$rtems_cv_gcc_isystem" = x"yes"],[ RTEMS_CPPFLAGS="-isystem \$(PROJECT_INCLUDE)"],[ |