Changeset c2113d3 in rtems for aclocal/prog-cxx.m4


Ignore:
Timestamp:
Dec 6, 2002, 7:13:50 AM (17 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
dfa8fe34
Parents:
f69283e2
Message:

2002-12-06 Ralf Corsepius <corsepiu@…>

  • aclocal/env-rtemsbsp.m4: Add AC_ARG_VAR for CPU_CFLAGS, CFLAGS_OPTIMIZE_V, CFLAGS_DEBUG_V, CFLAGS_PROFILE_V, RTEMS_BSP_FAMILY.
  • aclocal/prog-cc.m4: Reworked CFLAGS handling.
  • aclocal/prog-cxx.m4: Reworked CXXFLAGS handling.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • aclocal/prog-cxx.m4

    rf69283e2 rc2113d3  
    1010AC_BEFORE([$0], [RTEMS_CANONICALIZE_TOOLS])dnl
    1111
     12_RTEMS_FLAGS([CXXFLAGS],
     13  ["\$(CPU_CFLAGS) \$(RTEMS_CFLAGS_\$(VARIANT_V)_V) \$(CFLAGS_\$(VARIANT_V)_V) -g"])
     14
    1215dnl Only accept g++
    1316dnl NOTE: This might be too restrictive
     
    1619test -z "$CXX" \
    1720  && AC_MSG_ERROR([no acceptable c++ found in \$PATH])
     21
     22#if test "$GCC" = yes; then
     23#RTEMS_CXXFLAGS="$RTEMS_CXXFLAGS -Wall"
     24#m4_if([$1],,[],[RTEMS_CXXFLAGS="$RTEMS_CXXFLAGS $1"])
     25#fi
    1826])
    1927
Note: See TracChangeset for help on using the changeset viewer.