Changeset c2646c8 in rtems for make/compilers


Ignore:
Timestamp:
Nov 18, 2002, 12:42:53 AM (18 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
db28d621
Parents:
789a953
Message:

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

  • leaf.cfg, main.cfg, compilers/gcc-target-default.cfg: Make build variants work for user applications post install.
File:
1 edited

Legend:

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

    r789a953 rc2646c8  
    5353# when debugging, optimize flag: typically empty
    5454# some compilers do allow optimization with their "-g"
    55 CFLAGS_OPTIMIZE_V=-g
    56 CXXFLAGS_OPTIMIZE_V=-g
     55CFLAGS_OPTIMIZE_V+=-g
     56CXXFLAGS_OPTIMIZE_V+=-g
    5757
    5858# profile flag; use gprof(1)
    59 CFLAGS_PROFILE_V=-pg
    60 CXXFLAGS_PROFILE_V=-pg
     59CFLAGS_PROFILE_V+=-pg
     60CXXFLAGS_PROFILE_V+=-pg
    6161
    6262ifndef AUTOMAKE
    63 # default is to optimize
    64 CFLAGS_OPTIMIZE  =$(CFLAGS_OPTIMIZE_V)
    65 CXXFLAGS_OPTIMIZE=$(CXXFLAGS_OPTIMIZE_V)
     63CFLAGS_$(VARIANT)  =$(CFLAGS_$(VARIANT)_V)
     64CXXFLAGS_$(VARIANT)=$(CXXFLAGS_$(VARIANT)_V)
    6665endif
    6766
Note: See TracChangeset for help on using the changeset viewer.