summaryrefslogtreecommitdiff
path: root/gcc/config/m68k
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/config/m68k')
-rw-r--r--gcc/config/m68k/m68k.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/config/m68k/m68k.h b/gcc/config/m68k/m68k.h
index 12c30b8ba26..cb6c1900b00 100644
--- a/gcc/config/m68k/m68k.h
+++ b/gcc/config/m68k/m68k.h
@@ -29,7 +29,8 @@ Boston, MA 02111-1307, USA. */
do \
{ \
builtin_define ("__mc68000__"); \
- builtin_define ("__mc68020__"); \
+ if (TARGET_68020) \
+ builtin_define ("__mc68020__"); \
builtin_define ("__m68k__"); \
builtin_assert ("cpu=m68k"); \
builtin_assert ("machine=m68k"); \