diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2001-05-07 13:15:49 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2001-05-07 13:15:49 +0000 |
commit | f1d08c98b3c500c33f9d74b167ec132f407dfa3a (patch) | |
tree | 6698d0871a089decb651c039763c63c4f0e321d2 /aclocal | |
parent | 2001-05-07 Joel Sherrill <joel@OARcorp.com> (diff) | |
download | rtems-f1d08c98b3c500c33f9d74b167ec132f407dfa3a.tar.bz2 |
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.
Diffstat (limited to '')
-rw-r--r-- | aclocal/prog-cc.m4 | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/aclocal/prog-cc.m4 b/aclocal/prog-cc.m4 index 164934ba51..868c411b21 100644 --- a/aclocal/prog-cc.m4 +++ b/aclocal/prog-cc.m4 @@ -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) |