From c506d97b984aedb951c1ae34d380b9b22038e58a Mon Sep 17 00:00:00 2001 From: Doug Evans Date: Sun, 31 Dec 1995 23:46:10 +0000 Subject: [PATCH] (MULTILIB_DEFAULTS): Define. From-SVN: r10921 --- gcc/config/m68k/m68k-none.h | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/gcc/config/m68k/m68k-none.h b/gcc/config/m68k/m68k-none.h index 2f6761b4e8c..f299330e27d 100644 --- a/gcc/config/m68k/m68k-none.h +++ b/gcc/config/m68k/m68k-none.h @@ -92,4 +92,19 @@ Boston, MA 02111-1307, USA. */ #endif -/* end of m68k-none.h */ +/* Avoid building multilib libraries for the defaults. + t-m68kbare doesn't support -mfpa in the multilib'd libraries, so we don't + either. */ +#if (TARGET_DEFAULT & 5) == 5 +#if TARGET_DEFAULT & 2 +#define MULTILIB_DEFAULTS { "m68020", "m68881" } +#else +#define MULTILIB_DEFAULTS { "m68020", "msoft-float" } +#endif +#else +#if TARGET_DEFAULT & 2 +#define MULTILIB_DEFAULTS { "m68000", "m68881" } +#else +#define MULTILIB_DEFAULTS { "m68000", "msoft-float" } +#endif +#endif -- 2.30.2