From df413e9ff2ea35d63ab324bb238ebebec15e97ce Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Tue, 12 Nov 2002 10:32:05 +0000 Subject: 2002-11-12 Ralf Corsepius * compilers/gcc-target-default.cfg: Add -qrtems-debug handling. --- c/src/make/compilers/gcc-target-default.cfg | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'c/src/make/compilers') 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) -- cgit v1.2.3