2002-11-17 Joel Sherrill <joel@OARcorp.com>

* compilers/gcc-target-default.cfg: Make build variants work
	for user applications.
This commit is contained in:
Joel Sherrill
2002-11-18 00:43:21 +00:00
parent c2646c880e
commit db28d6217f
2 changed files with 11 additions and 7 deletions

View File

@@ -1,3 +1,8 @@
2002-11-17 Joel Sherrill <joel@OARcorp.com>
* compilers/gcc-target-default.cfg: Make build variants work
for user applications.
2002-11-13 Ralf Corsepius <corsepiu@faw.uni-ulm.de> 2002-11-13 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.inc.in: Remove RTEMS_USE_GCC272, RTEMS_LIBC_DIR. * Makefile.inc.in: Remove RTEMS_USE_GCC272, RTEMS_LIBC_DIR.

View File

@@ -55,17 +55,16 @@ CXXFLAGS_DEBUG_V+=-qrtems_debug
# when debugging, optimize flag: typically empty # when debugging, optimize flag: typically empty
# some compilers do allow optimization with their "-g" # some compilers do allow optimization with their "-g"
CFLAGS_OPTIMIZE_V=-g CFLAGS_OPTIMIZE_V+=-g
CXXFLAGS_OPTIMIZE_V=-g CXXFLAGS_OPTIMIZE_V+=-g
# profile flag; use gprof(1) # profile flag; use gprof(1)
CFLAGS_PROFILE_V=-pg CFLAGS_PROFILE_V+=-pg
CXXFLAGS_PROFILE_V=-pg CXXFLAGS_PROFILE_V+=-pg
ifndef AUTOMAKE ifndef AUTOMAKE
# default is to optimize CFLAGS_$(VARIANT) =$(CFLAGS_$(VARIANT)_V)
CFLAGS_OPTIMIZE =$(CFLAGS_OPTIMIZE_V) CXXFLAGS_$(VARIANT)=$(CXXFLAGS_$(VARIANT)_V)
CXXFLAGS_OPTIMIZE=$(CXXFLAGS_OPTIMIZE_V)
endif endif
ifndef AUTOMAKE ifndef AUTOMAKE