diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2002-11-12 10:32:05 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2002-11-12 10:32:05 +0000 |
commit | df413e9ff2ea35d63ab324bb238ebebec15e97ce (patch) | |
tree | 9138c392370f2738774c14e64e07f4297351d736 /c/src/make | |
parent | 2002-11-12 Ralf Corsepius <corsepiu@faw.uni-ulm.de> (diff) | |
download | rtems-df413e9ff2ea35d63ab324bb238ebebec15e97ce.tar.bz2 |
2002-11-12 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* compilers/gcc-target-default.cfg: Add -qrtems-debug handling.
Diffstat (limited to 'c/src/make')
-rw-r--r-- | c/src/make/ChangeLog | 4 | ||||
-rw-r--r-- | c/src/make/compilers/gcc-target-default.cfg | 11 |
2 files changed, 11 insertions, 4 deletions
diff --git a/c/src/make/ChangeLog b/c/src/make/ChangeLog index 59bdc1948f..f8c8843983 100644 --- a/c/src/make/ChangeLog +++ b/c/src/make/ChangeLog @@ -1,3 +1,7 @@ +2002-11-12 Ralf Corsepius <corsepiu@faw.uni-ulm.de> + + * compilers/gcc-target-default.cfg: Add -qrtems-debug handling. + 2002-11-08 Ralf Corsepius <corsepiu@faw.uni-ulm.de> * configure.ac: Only symlink leaf.cfg. diff --git a/c/src/make/compilers/gcc-target-default.cfg b/c/src/make/compilers/gcc-target-default.cfg index 4d7a6c5b3c..acbdb76a5d 100644 --- a/c/src/make/compilers/gcc-target-default.cfg +++ b/c/src/make/compilers/gcc-target-default.cfg @@ -28,10 +28,13 @@ CXXFLAGS = $(CFLAGS_DEFAULT) $(XCXXFLAGS) ASFLAGS = $(CPU_ASFLAGS) $(XASFLAGS) # NOTE: GCCSPECS probably belongs to CPPFLAGS -# Unfortunately, many custom/*.cfg files do not pass CPPFLAGS -# to their gcc-2.8 make-exe rules -GCCSPECS = -B$(PROJECT_RELEASE)/lib/ -specs bsp_specs -qrtems - +GCCSPECS_OPTIMIZE_V = +GCCSPECS_DEBUG_V = -qrtems_debug +GCCSPECS_PROFILE_V = + +GCCSPECS = -B$(PROJECT_RELEASE)/lib/ -specs bsp_specs -qrtems +GCCSPECS += $(GCCSPECS_$(VARIANT_V)_V) + CC += $(GCCSPECS) CXX += $(GCCSPECS) |