summaryrefslogtreecommitdiffstats
path: root/make/compilers/gcc-portsw.cfg
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--make/compilers/gcc-portsw.cfg8
1 files changed, 2 insertions, 6 deletions
diff --git a/make/compilers/gcc-portsw.cfg b/make/compilers/gcc-portsw.cfg
index 2d67ebb099..ddcec0ed0e 100644
--- a/make/compilers/gcc-portsw.cfg
+++ b/make/compilers/gcc-portsw.cfg
@@ -59,10 +59,6 @@ CFLAGS_OPTIMIZE_V=-Os
# debug flag; typically -g
CFLAGS_DEBUG_V=-g -O0 -DRTEMS_DEBUG -DSTACK_CHECKER_ON
-# when debugging, optimize flag: typically empty
-# some compilers do allow optimization with their "-g"
-CFLAGS_DEBUG_OPTIMIZE_V=
-
# profile flag; use gprof(1)
CFLAGS_PROFILE_V=
@@ -198,10 +194,10 @@ ${ARCH}/%: %.sh
$(CHMOD) -f g+w $@
# Dependency files for use by gmake
-# NOTE: we don't put in $(TARGET_ARCH)
+# NOTE: we don't put them into $(ARCH)
# so that 'make clean' doesn't blow it away
-DEPEND=Depends-$(TARGET_ARCH:o-%=%)
+DEPEND=Depends-${ARCH}
CLEAN_DEPEND=$(DEPEND).tmp
CLOBBER_DEPEND=$(DEPEND)