2001-04-27 Ralf Corsepius <corsepiu@faw.uni-ulm.de>

* aclocal/prog-cc.m4: Add CPPFLAGS and CFLAGS handling to
	RTEMS_PROG_CC_FOR_TARGET.
This commit is contained in:
Joel Sherrill
2001-05-07 13:15:49 +00:00
parent bbc99f1a6f
commit f1d08c98b3
2 changed files with 11 additions and 0 deletions

View File

@@ -38,6 +38,12 @@ if test "$RTEMS_USE_GCC272" != "yes" ; then
fi
test "$rtems_cv_gcc_pipe" = "yes" && CC="$CC --pipe"
if test "$GCC" = yes; then
]
ifelse([$1],,[],[CPPFLAGS="$CPPFLAGS $1"])
[
CFLAGS="-g -Wall"
fi
## Conditional for automake files
AM_CONDITIONAL(RTEMS_USE_GCC272, test x"$RTEMS_USE_GCC272" = x"yes")
## Make variable for autoconf fragments (*.cfg)