aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRichard Kenner <kenner@gcc.gnu.org>1997-06-09 13:23:05 -0400
committerRichard Kenner <kenner@gcc.gnu.org>1997-06-09 13:23:05 -0400
commit7fe47db9da8e627dbb4b588c81fac43d5f04ca4e (patch)
treea77866a45cbaa6f8c6b9c7158bf19b29e3c1ad50 /gcc
parentd947dca0374ac8df5a25d52ff759f464ddb24df3 (diff)
downloadgcc-7fe47db9da8e627dbb4b588c81fac43d5f04ca4e.zip
gcc-7fe47db9da8e627dbb4b588c81fac43d5f04ca4e.tar.gz
gcc-7fe47db9da8e627dbb4b588c81fac43d5f04ca4e.tar.bz2
(CPP_SPEC): Define __mc68020__ if no -m[c]68000 command-line option given.
From-SVN: r14179
Diffstat (limited to 'gcc')
-rw-r--r--gcc/config/m68k/mot3300.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/config/m68k/mot3300.h b/gcc/config/m68k/mot3300.h
index d86874c..e6160ec 100644
--- a/gcc/config/m68k/mot3300.h
+++ b/gcc/config/m68k/mot3300.h
@@ -73,7 +73,8 @@ Boston, MA 02111-1307, USA. */
#define LINK_SPEC "%{v:-v}"
#endif /* defined (USE_GLD) */
-#define CPP_SPEC "%{!msoft-float:-D__HAVE_68881__}"
+#define CPP_SPEC "%{!msoft-float:-D__HAVE_68881__}\
+%{!mc68000:%{!m68000: -D__mc68020__}}"
/* Shared libraries need to use crt0s.o */