Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 675954 | Differences between
and this patch

Collapse All | Expand All

(-)a/gcc/config.gcc (-2 / +8 lines)
Lines 1923-1929 i[34567]86-*-linux* | i[34567]86-*-kfreebsd*-gnu | i[34567]86-*-gnu* | i[34567]8 Link Here
1923
		if test x$enable_targets = xall; then
1923
		if test x$enable_targets = xall; then
1924
			tm_file="${tm_file} i386/x86-64.h i386/gnu-user-common.h i386/gnu-user64.h i386/linux-common.h i386/linux64.h"
1924
			tm_file="${tm_file} i386/x86-64.h i386/gnu-user-common.h i386/gnu-user64.h i386/linux-common.h i386/linux64.h"
1925
			tm_defines="${tm_defines} TARGET_BI_ARCH=1"
1925
			tm_defines="${tm_defines} TARGET_BI_ARCH=1"
1926
			tmake_file="${tmake_file} i386/t-linux64"
1926
			case $target in
1927
				*-*-*musl*) tmake_file="${tmake_file} i386/t-linux64-musl";;
1928
				*) tmake_file="${tmake_file} i386/t-linux64";;
1929
			esac
1927
			x86_multilibs="${with_multilib_list}"
1930
			x86_multilibs="${with_multilib_list}"
1928
			if test "$x86_multilibs" = "default"; then
1931
			if test "$x86_multilibs" = "default"; then
1929
				x86_multilibs="m64,m32"
1932
				x86_multilibs="m64,m32"
Lines 1983-1989 x86_64-*-linux* | x86_64-*-kfreebsd*-gnu) Link Here
1983
		tm_file="${tm_file} kfreebsd-gnu.h i386/kfreebsd-gnu64.h"
1986
		tm_file="${tm_file} kfreebsd-gnu.h i386/kfreebsd-gnu64.h"
1984
		;;
1987
		;;
1985
	esac
1988
	esac
1986
	tmake_file="${tmake_file} i386/t-linux64"
1989
	case $target in
1990
		*-*-*musl*) tmake_file="${tmake_file} i386/t-linux64-musl";;
1991
		*) tmake_file="${tmake_file} i386/t-linux64";;
1992
	esac
1987
	x86_multilibs="${with_multilib_list}"
1993
	x86_multilibs="${with_multilib_list}"
1988
	if test "$x86_multilibs" = "default"; then
1994
	if test "$x86_multilibs" = "default"; then
1989
		case ${with_abi} in
1995
		case ${with_abi} in
(-)a/gcc/config/i386/t-linux64-musl (-1 / +28 lines)
Line 0 Link Here
0
- 
1
# Copyright (C) 2002-2021 Free Software Foundation, Inc.
2
#
3
# This file is part of GCC.
4
#
5
# GCC is free software; you can redistribute it and/or modify
6
# it under the terms of the GNU General Public License as published by
7
# the Free Software Foundation; either version 3, or (at your option)
8
# any later version.
9
#
10
# GCC is distributed in the hope that it will be useful,
11
# but WITHOUT ANY WARRANTY; without even the implied warranty of
12
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13
# GNU General Public License for more details.
14
#
15
# You should have received a copy of the GNU General Public License
16
# along with GCC; see the file COPYING3.  If not see
17
# <http://www.gnu.org/licenses/>.
18
19
# musl explicitly does not support lib/lib32/lib64 layouts and always
20
# uses lib layout. On debian full arch suffix is used. Thus we populate
21
# all the m32/m64/mx32 with the same lib and apply multiarch suffix.
22
23
comma=,
24
MULTILIB_OPTIONS    = $(subst $(comma),/,$(TM_MULTILIB_CONFIG))
25
MULTILIB_DIRNAMES   = $(patsubst m%, %, $(subst /, ,$(MULTILIB_OPTIONS)))
26
MULTILIB_OSDIRNAMES = m64=../lib$(call if_multiarch,:x86_64-linux-gnu)
27
MULTILIB_OSDIRNAMES+= m32=../lib$(call if_multiarch,:i386-linux-gnu)
28
MULTILIB_OSDIRNAMES+= mx32=../lib$(call if_multiarch,:x86_64-linux-gnux32)

Return to bug 675954