forked from Imagelibrary/rtems
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:
@@ -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.
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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])
|
||||
|
||||
Reference in New Issue
Block a user