diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2005-11-09 09:38:03 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2005-11-09 09:38:03 +0000 |
commit | fa6f76bc29e636494066cf070146686b3d8b1a95 (patch) | |
tree | c1525cc6f8d918644b5e20d4c6f646f1be8c6b97 /testsuites/aclocal/prog-cc.m4 | |
parent | 2005-11-09 Ralf Corsepius <ralf.corsepius@rtems.org> (diff) | |
download | rtems-fa6f76bc29e636494066cf070146686b3d8b1a95.tar.bz2 |
Apply cpukit_root, project_root to set up GCCSPECS.
Diffstat (limited to 'testsuites/aclocal/prog-cc.m4')
-rw-r--r-- | testsuites/aclocal/prog-cc.m4 | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/testsuites/aclocal/prog-cc.m4 b/testsuites/aclocal/prog-cc.m4 index 5ac6cb7232..5b3e1149dc 100644 --- a/testsuites/aclocal/prog-cc.m4 +++ b/testsuites/aclocal/prog-cc.m4 @@ -23,7 +23,10 @@ dnl check target cc RTEMS_PROG_CC AS_IF([test x"$GCC" = xyes],[ -GCCSPECS="-B\$(PROJECT_ROOT)/lib/ -B\$(PROJECT_ROOT)/$RTEMS_BSP/lib/" +AS_IF([test "${enable_cpukit_root+set}"],[ + GCCSPECS="-B\$(CPUKIT_ROOT)/lib/"]) +AS_IF([test "${enable_project_root+set}"],[ + GCCSPECS="$GCCSPECS -B\$(PROJECT_ROOT)/lib/"]) GCCSPECS="${GCCSPECS} -specs bsp_specs -qrtems"]) AC_SUBST(GCCSPECS) ]) |