summaryrefslogtreecommitdiffstats
path: root/c/src/make/compilers/gcc-target-default.cfg
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2002-11-12 10:32:05 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2002-11-12 10:32:05 +0000
commitdf413e9ff2ea35d63ab324bb238ebebec15e97ce (patch)
tree9138c392370f2738774c14e64e07f4297351d736 /c/src/make/compilers/gcc-target-default.cfg
parent393d271670636311ce6fbb7a1a047de95e8f26a5 (diff)
downloadrtems-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 '')
-rw-r--r--c/src/make/compilers/gcc-target-default.cfg11
1 files changed, 7 insertions, 4 deletions
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)