Changeset 98db96e in rtems


Ignore:
Timestamp:
Jun 29, 2013, 12:00:39 PM (6 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, master
Children:
311ba73
Parents:
40ce265
git-author:
Sebastian Huber <sebastian.huber@…> (06/29/13 12:00:39)
git-committer:
Sebastian Huber <sebastian.huber@…> (06/29/13 13:15:49)
Message:

make: Use C flags for C++ as default

In case a BSP selects special CFLAGS_OPTIMIZE_V flags then they will be
also used for CXXFLAGS_OPTIMIZE_V automatically for example.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/make/compilers/gcc-target-default.cfg

    r40ce265 r98db96e  
    4646# debug flag;
    4747CFLAGS_DEBUG_V ?= -O0 -g
    48 CXXFLAGS_DEBUG_V ?= -O0 -g
     48CXXFLAGS_DEBUG_V ?= $(CFLAGS_DEBUG_V)
    4949
    5050# when debugging, optimize flag: typically empty
    5151# some compilers do allow optimization with their "-g"
    5252CFLAGS_OPTIMIZE_V ?= -O2 -g
    53 CXXFLAGS_OPTIMIZE_V ?= -O2 -g
     53CXXFLAGS_OPTIMIZE_V ?= $(CFLAGS_OPTIMIZE_V)
    5454
    5555ifndef AUTOMAKE
Note: See TracChangeset for help on using the changeset viewer.