summaryrefslogtreecommitdiff
path: root/gcc/config/m68k/t-linux
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/config/m68k/t-linux')
-rw-r--r--gcc/config/m68k/t-linux6
1 files changed, 5 insertions, 1 deletions
diff --git a/gcc/config/m68k/t-linux b/gcc/config/m68k/t-linux
index 3fa29474693..aa64dfc7c1d 100644
--- a/gcc/config/m68k/t-linux
+++ b/gcc/config/m68k/t-linux
@@ -1,4 +1,4 @@
-# Copyright (C) 2008, 2010, 2011 Free Software Foundation, Inc.
+# Copyright (C) 2008, 2010, 2011, 2012 Free Software Foundation, Inc.
#
# This file is part of GCC.
#
@@ -19,6 +19,10 @@
# 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