diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2003-02-18 12:58:44 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2003-02-18 12:58:44 +0000 |
commit | 385b2e235d756db7759a4b0bae97edf3068b23f9 (patch) | |
tree | dec3110866aef0e4238f4f368199856525b8021f /cpukit/aclocal | |
parent | 2003-02-18 Ralf Corsepius <corsepiu@faw.uni-ulm.de> (diff) | |
download | rtems-385b2e235d756db7759a4b0bae97edf3068b23f9.tar.bz2 |
2003-02-18 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* automake/local.am: Introduce depend-gcc.
Remove ${ARCH}.
* automake/compile.am: Remove GCCSPECS, GCC_SPECS, CONFIG.CC, CC,
CPP. Add ${ARCH}. depend-gcc.
* aclocal/prog-cc.m4: Set up RTEMS_CPPFLAGS.
* aclocal/env-rtemscpu.m4: Remove GCC_SPECS.
* aclocal/env-rtemsbsp.m4: Remove GCC_SPECS.
Diffstat (limited to 'cpukit/aclocal')
-rw-r--r-- | cpukit/aclocal/env-rtemsbsp.m4 | 3 | ||||
-rw-r--r-- | cpukit/aclocal/env-rtemscpu.m4 | 3 | ||||
-rw-r--r-- | cpukit/aclocal/prog-cc.m4 | 4 |
3 files changed, 4 insertions, 6 deletions
diff --git a/cpukit/aclocal/env-rtemsbsp.m4 b/cpukit/aclocal/env-rtemsbsp.m4 index f453586cdc..ae1a6f72d3 100644 --- a/cpukit/aclocal/env-rtemsbsp.m4 +++ b/cpukit/aclocal/env-rtemsbsp.m4 @@ -34,9 +34,6 @@ AC_SUBST(project_libdir) RTEMS_ROOT="$PROJECT_ROOT/c/$RTEMS_BSP" AC_SUBST(RTEMS_ROOT) -GCC_SPECS="-isystem \$(PROJECT_INCLUDE)" -AC_SUBST(GCC_SPECS) - RTEMS_ENABLE_BARE AC_SUBST(BARE_CPU_MODEL) AC_SUBST(BARE_CPU_CFLAGS) diff --git a/cpukit/aclocal/env-rtemscpu.m4 b/cpukit/aclocal/env-rtemscpu.m4 index b33fdbdd3c..0ea77438b6 100644 --- a/cpukit/aclocal/env-rtemscpu.m4 +++ b/cpukit/aclocal/env-rtemscpu.m4 @@ -13,9 +13,6 @@ if test x"$multilib" = x"yes"; then [MULTISUBDIR="/$with_multisubdir"]) AC_SUBST(MULTISUBDIR) - GCC_SPECS="-isystem \$(PROJECT_INCLUDE)" - AC_SUBST(GCC_SPECS) - PROJECT_INCLUDE="\$(PROJECT_ROOT)/lib/include" AC_SUBST(PROJECT_INCLUDE) diff --git a/cpukit/aclocal/prog-cc.m4 b/cpukit/aclocal/prog-cc.m4 index 4ed2f5730c..92bd7749ce 100644 --- a/cpukit/aclocal/prog-cc.m4 +++ b/cpukit/aclocal/prog-cc.m4 @@ -35,5 +35,9 @@ test "$rtems_cv_gcc_pipe" = "yes" && CC="$CC --pipe" if test "$GCC" = yes; then RTEMS_CFLAGS="$RTEMS_CFLAGS -Wall" m4_if([$1],,[],[RTEMS_CFLAGS="$RTEMS_CFLAGS $1"]) +RTEMS_CPPFLAGS="-isystem \$(PROJECT_INCLUDE)" +else +RTEMS_CPPFLAGS="-I\$(PROJECT_INCLUDE)" fi +AC_SUBST(RTEMS_CPPFLAGS) ]) |