This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[patch] [m68k] add multiarch definitions for m68k-linux-gnu
- From: Matthias Klose <doko at ubuntu dot com>
- To: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Cc: Thorsten Glaser <tg at debian dot org>
- Date: Wed, 14 Nov 2012 23:32:43 +0100
- Subject: [patch] [m68k] add multiarch definitions for m68k-linux-gnu
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 <doko@ubuntu.com>
* 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