diff options
author | Alexey Neyman <stilor@att.net> | 2016-03-19 15:56:26 -0700 |
---|---|---|
committer | Alexey Neyman <stilor@att.net> | 2016-06-09 17:12:49 -0700 |
commit | a49e13fb4edeefba406d98754fb0ca04b707ff4c (patch) | |
tree | d3b461c9349f37b731b9b16203ca8fce802dfc2d /config/arch/sh.in | |
parent | a60946eb24430a8b43b8fe6027d32ab17be28111 (diff) | |
download | crosstool-ng-a49e13fb4edeefba406d98754fb0ca04b707ff4c.tar.gz crosstool-ng-a49e13fb4edeefba406d98754fb0ca04b707ff4c.tar.bz2 crosstool-ng-a49e13fb4edeefba406d98754fb0ca04b707ff4c.zip |
sh: require multilib
Now that libc backend installs the libraries into the directory reported
by gcc as 'multi-os-directory', sh4 libraries are installed into a '!m4'
subdirectory. This directory then confuses GNU ld, which assumes the
exclamation mark to be a word separator and attempts to link to
'/usr/lib' (a directory). However, if multilib is enabled, the default
libraries are installed into the [expected] '/usr/lib/./'. This looks
like an artifact of SuperH's unique way of specifying the multilibs to
be built in GCC (which may list exclusions, starting with '!').
Signed-off-by: Alexey Neyman <stilor@att.net>
Diffstat (limited to 'config/arch/sh.in')
-rw-r--r-- | config/arch/sh.in | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/config/arch/sh.in b/config/arch/sh.in index 68d31200..60de3133 100644 --- a/config/arch/sh.in +++ b/config/arch/sh.in @@ -5,6 +5,7 @@ ## select ARCH_USE_MMU ## select ARCH_SUPPORTS_BOTH_ENDIAN ## select ARCH_DEFAULT_LE +## select ARCH_REQUIRES_MULTILIB ## ## help The Super-H architecture, as defined by: ## help http://www.renesas.com/fmwk.jsp?cnt=superh_family_landing.jsp&fp=/products/mpumcu/superh_family/ |