aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJim Wilson <wilson@gcc.gnu.org>1993-03-16 12:15:00 -0800
committerJim Wilson <wilson@gcc.gnu.org>1993-03-16 12:15:00 -0800
commit0a7b7709ebf8c7d7250700e367bc685dcdeecb6f (patch)
tree19767d5e7366fcf1524f7df53cb8e232777f03f5 /gcc
parente0e2f469f61bab4770d0b3ffc8eb285633ecf13c (diff)
downloadgcc-0a7b7709ebf8c7d7250700e367bc685dcdeecb6f.zip
gcc-0a7b7709ebf8c7d7250700e367bc685dcdeecb6f.tar.gz
gcc-0a7b7709ebf8c7d7250700e367bc685dcdeecb6f.tar.bz2
(CFLAGS, LIBGCC2_CFLAGS): Delete overrides and comment why they were wrong.
From-SVN: r3761
Diffstat (limited to 'gcc')
-rw-r--r--gcc/config/m68k/x-apollo6815
1 files changed, 5 insertions, 10 deletions
diff --git a/gcc/config/m68k/x-apollo68 b/gcc/config/m68k/x-apollo68
index 958259a..b7261eb 100644
--- a/gcc/config/m68k/x-apollo68
+++ b/gcc/config/m68k/x-apollo68
@@ -5,13 +5,8 @@
CC=cc -g -A nansi -A cpu,3000 -A runtype,bsd4.3 -A systype,any -DSHORT_ENUM_BUG
OLDCC=cc -g -A nansi -A cpu,3000 -A runtype,bsd4.3 -A systype,any -DSHORT_ENUM_BUG
-# Makefile.in has debugging turned on:
-#
-# CFLAGS = -g
-# LIBGCC2_CFLAGS = -O2 $(GCC_CFLAGS) -g1
-#
-# but that's not supported on the Apollo yet, so we'd better avoid
-# the warnings.
-
-CFLAGS =
-LIBGCC2_CFLAGS = -O2 $(GCC_CFLAGS)
+# This used to redefine CFLAGS and LIBGCC2_CFLAGS to eliminate the unsupported
+# -g flag from both macros. This gives an undebugable stage1 compiler which
+# is bad, and it also does the wrong thing if we are cross compiling to a
+# target which does support debugging. There is currently no way to avoid
+# the -g option that doesn't break something else.