Changeset db28d621 in rtems


Ignore:
Timestamp:
Nov 18, 2002, 12:43:21 AM (17 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
69efcbc1
Parents:
c2646c8
Message:

2002-11-17 Joel Sherrill <joel@…>

  • compilers/gcc-target-default.cfg: Make build variants work for user applications.
Location:
c/src/make
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • c/src/make/ChangeLog

    rc2646c8 rdb28d621  
     12002-11-17      Joel Sherrill <joel@OARcorp.com>
     2
     3        * compilers/gcc-target-default.cfg: Make build variants work
     4        for user applications.
     5
    162002-11-13      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
    27
  • c/src/make/compilers/gcc-target-default.cfg

    rc2646c8 rdb28d621  
    5656# when debugging, optimize flag: typically empty
    5757# some compilers do allow optimization with their "-g"
    58 CFLAGS_OPTIMIZE_V=-g
    59 CXXFLAGS_OPTIMIZE_V=-g
     58CFLAGS_OPTIMIZE_V+=-g
     59CXXFLAGS_OPTIMIZE_V+=-g
    6060
    6161# profile flag; use gprof(1)
    62 CFLAGS_PROFILE_V=-pg
    63 CXXFLAGS_PROFILE_V=-pg
     62CFLAGS_PROFILE_V+=-pg
     63CXXFLAGS_PROFILE_V+=-pg
    6464
    6565ifndef AUTOMAKE
    66 # default is to optimize
    67 CFLAGS_OPTIMIZE  =$(CFLAGS_OPTIMIZE_V)
    68 CXXFLAGS_OPTIMIZE=$(CXXFLAGS_OPTIMIZE_V)
     66CFLAGS_$(VARIANT)  =$(CFLAGS_$(VARIANT)_V)
     67CXXFLAGS_$(VARIANT)=$(CXXFLAGS_$(VARIANT)_V)
    6968endif
    7069
Note: See TracChangeset for help on using the changeset viewer.