2005-01-06 Ralf Corsepius <ralf.corsepius@rtems.org>

* configure.ac: Pass CFLAGS to testsuites configure.
	* aclocal/prog-cxx.m4: Don't invoke _RTEMS_FLAGS to set up
        RTEMS_CXXFLAGS. Setup CXXFLAGS from CFLAGS.
This commit is contained in:
Ralf Corsepius
2005-01-06 10:45:41 +00:00
parent c0ceea58f0
commit 6c2b532477
3 changed files with 11 additions and 4 deletions

View File

@@ -1,3 +1,9 @@
2005-01-06 Ralf Corsepius <ralf.corsepius@rtems.org>
* configure.ac: Pass CFLAGS to testsuites configure.
* aclocal/prog-cxx.m4: Don't invoke _RTEMS_FLAGS to set up
RTEMS_CXXFLAGS. Setup CXXFLAGS from CFLAGS.
2005-01-05 Ralf Corsepius <ralf.corsepius@rtems.org>
* configure.ac: Pass CFLAGS to cpukit configure.

View File

@@ -11,8 +11,7 @@ AC_REQUIRE([RTEMS_ENABLE_CXX])
RTEMS_CHECK_TOOL(CXX,g++)
if test "$RTEMS_HAS_CPLUSPLUS" = "yes";
then
_RTEMS_FLAGS([CXXFLAGS],
["\$(CPU_CFLAGS) \$(RTEMS_CFLAGS_\$(VARIANT_V)_V) \$(CFLAGS_\$(VARIANT_V)_V) -g"])
CXXFLAGS=${CXXFLAGS-${CFLAGS}}
dnl Only accept g++
dnl NOTE: This might be too restrictive

View File

@@ -133,7 +133,8 @@ RTEMS_BSP_CONFIG_SUBDIR(
['--with-project-root=${with_project_root}../$RTEMS_BSP/' \
'--includedir=${exec_prefix}/${RTEMS_BSP}/lib/include' \
'--libdir=${exec_prefix}/${RTEMS_BSP}/lib' \
'CFLAGS="${CFLAGS}"'],
'CFLAGS="${CFLAGS}"' \
],
[test x"$multilib" = xno])
## Note: the order of the directories below is essential
@@ -195,7 +196,8 @@ RTEMS_BSP_CONFIG_SUBDIR(
'--with-project-root=${with_project_root}../' \
'--with-project-top=${with_project_top}../' \
'--enable-rtemsbsp=$RTEMS_BSP' \
],
'CFLAGS="${CFLAGS}"' \
],
[test x"$enable_tests" != x"no"])
AC_SUBST([BSP_SUBDIRS],[$BSP_SUBDIRS])