t-linux: Define MULTIARCH_DIRNAME.
authorMatthias Klose <doko@ubuntu.com>
Wed, 21 Nov 2012 23:01:30 +0000 (23:01 +0000)
committerMatthias Klose <doko@gcc.gnu.org>
Wed, 21 Nov 2012 23:01:30 +0000 (23:01 +0000)
2012-11-21  Matthias Klose  <doko@ubuntu.com>

        * config/m68k/t-linux: Define MULTIARCH_DIRNAME.

From-SVN: r193714

gcc/ChangeLog
gcc/config/m68k/t-linux

index f2ba2b122f66abd2e322a29e774379c285408346..8b2c8c5827150d839108f53f99ef15fe9d19d74c 100644 (file)
@@ -1,3 +1,7 @@
+2012-11-21  Matthias Klose  <doko@ubuntu.com>
+
+       * config/m68k/t-linux: Define MULTIARCH_DIRNAME.
+
 2012-11-21  Matthias Klose  <doko@ubuntu.com>
 
        * config/ia64/t-linux: New file; define MULTIARCH_DIRNAME.
index 3fa29474693a7713398590dbee509344b5797382..4e3d5598869a251a484ae8c24c0e9c61b6b3dedb 100644 (file)
 # Only include multilibs for 680x0 and ColdFire CPUs with an MMU.
 M68K_MLIB_CPU += && ((CPU ~ "^m680") || (CPU ~ "^mcf")) && (FLAGS ~ "FL_MMU")
 
+ifeq ($(M68K_ARCH),m68k)
+MULTIARCH_DIRNAME = $(call if_multiarch,m68k-linux-gnu)
+endif
+
 # This rule uses MULTILIB_MATCHES to generate a definition of
 # SYSROOT_SUFFIX_SPEC.
 sysroot-suffix.h: $(srcdir)/config/m68k/print-sysroot-suffix.sh