summaryrefslogtreecommitdiffstats
path: root/make/compilers
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1998-02-11 22:13:46 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1998-02-11 22:13:46 +0000
commita8589107785c5b00040955d03cfbfb75c7b6c658 (patch)
tree066c1c05efac1f0e8ddd86e18e1bd35da73884da /make/compilers
parentfc56b90cd329746caf6c97e11c2ccc9c2ff4cf70 (diff)
downloadrtems-a8589107785c5b00040955d03cfbfb75c7b6c658.tar.bz2
Incorporated Ralf Corsepius' idea for new -q flags to properly support
"gmake debug".
Diffstat (limited to 'make/compilers')
-rw-r--r--make/compilers/gcc-target-default.cfg4
1 files changed, 4 insertions, 0 deletions
diff --git a/make/compilers/gcc-target-default.cfg b/make/compilers/gcc-target-default.cfg
index 32f40c5e96..c832a08143 100644
--- a/make/compilers/gcc-target-default.cfg
+++ b/make/compilers/gcc-target-default.cfg
@@ -71,6 +71,10 @@ endif
# debug flag; typically -g
CFLAGS_DEBUG_V+=-g -Wno-unused
+ifeq ($(RTEMS_USE_GCC272),no)
+CFLAGS_DEBUG_V+=-qrtems_debug
+endif
+
# when debugging, optimize flag: typically empty
# some compilers do allow optimization with their "-g"
#CFLAGS_DEBUG_OPTIMIZE_V=