(CPP_SPEC): Define __mc68020__ if no -m[c]68000 command-line option given.
authorRichard Kenner <kenner@gcc.gnu.org>
Mon, 9 Jun 1997 17:23:05 +0000 (13:23 -0400)
committerRichard Kenner <kenner@gcc.gnu.org>
Mon, 9 Jun 1997 17:23:05 +0000 (13:23 -0400)
From-SVN: r14179

gcc/config/m68k/mot3300.h

index d86874c30c44c9bbaf8b781a7e907d29893e564f..e6160ec1a07ecc42da661bf08f275086234a58a5 100644 (file)
@@ -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  */