From patchwork Wed Nov 14 22:32:43 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [m68k] add multiarch definitions for m68k-linux-gnu Date: Wed, 14 Nov 2012 12:32:43 -0000 From: Matthias Klose X-Patchwork-Id: 199044 Message-Id: <50A41C0B.8060609@ubuntu.com> To: GCC Patches Cc: Thorsten Glaser The following patch adds the multiarch definitions for m68k-linux-gnu. Tested using a Debian/Ubuntu package build. Ok for the trunk? Here, I'm unsure if the definition needs to be further constrained. Matthias 2012-11-14 Matthias Klose * config/m68k/t-linux: Define MULTIARCH_DIRNAME. Index: config/m68k/t-linux =================================================================== --- config/m68k/t-linux (revision 193508) +++ config/m68k/t-linux (working copy) @@ -19,6 +19,8 @@ # Only include multilibs for 680x0 and ColdFire CPUs with an MMU. M68K_MLIB_CPU += && ((CPU ~ "^m680") || (CPU ~ "^mcf")) && (FLAGS ~ "FL_MMU") +MULTIARCH_DIRNAME = $(call if_multiarch,m68k-linux-gnu) + # This rule uses MULTILIB_MATCHES to generate a definition of # SYSROOT_SUFFIX_SPEC. sysroot-suffix.h: $(srcdir)/config/m68k/print-sysroot-suffix.sh