| 12 |
12 |
EMULTILIB_PKG="true"
|
| 13 |
13 |
|
| 14 |
14 |
# Gentoo patchset (ignored for live ebuilds)
|
| 15 |
|
PATCH_VER=7
|
|
15 |
PATCH_VER=9
|
| 16 |
16 |
PATCH_DEV=dilfridge
|
| 17 |
17 |
|
| 18 |
18 |
# gcc mulitilib bootstrap files version
|
| ... | ... | |
| 45 |
45 |
else
|
| 46 |
46 |
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86"
|
| 47 |
47 |
SRC_URI="mirror://gnu/glibc/${P}.tar.xz"
|
|
48 |
SRC_URI+=" https://distfiles.gentoo.org/pub/proj/toolchain/glibc/patches/${P}-patches-${PATCH_VER}.tar.xz"
|
| 48 |
49 |
SRC_URI+=" verify-sig? ( mirror://gnu/glibc/${P}.tar.xz.sig )"
|
| 49 |
|
SRC_URI+=" https://dev.gentoo.org/~${PATCH_DEV}/distfiles/${P}-patches-${PATCH_VER}.tar.xz"
|
| 50 |
50 |
fi
|
| 51 |
51 |
|
| 52 |
52 |
SRC_URI+=" multilib-bootstrap? ( https://dev.gentoo.org/~dilfridge/distfiles/gcc-multilib-bootstrap-${GCC_BOOTSTRAP_VER}.tar.xz )"
|
| ... | ... | |
| 376 |
376 |
[[ ${t} == "x86_64" ]] && t="x86-64"
|
| 377 |
377 |
filter-flags '-march=*'
|
| 378 |
378 |
# ugly, ugly, ugly. ugly.
|
| 379 |
|
CFLAGS_x86=$(CFLAGS=${CFLAGS_x86}; filter-flags '-march=*'; echo "${CFLAGS}")
|
|
379 |
CFLAGS_x86=$(
|
|
380 |
CFLAGS=${CFLAGS_x86}
|
|
381 |
filter-flags '-march=*'
|
|
382 |
is-flagq '-mfpmath=sse' && append-cflags -msse
|
|
383 |
echo "${CFLAGS}"
|
|
384 |
)
|
| 380 |
385 |
export CFLAGS_x86="${CFLAGS_x86} -march=${t}"
|
| 381 |
386 |
einfo "Auto adding -march=${t} to CFLAGS_x86 #185404 (ABI=${ABI})"
|
| 382 |
387 |
fi
|
| ... | ... | |
| 1557 |
1562 |
|
| 1558 |
1563 |
if is_hurd && has amd64 $(get_install_abis) ; then
|
| 1559 |
1564 |
# First, let's check for sanity
|
| 1560 |
|
if [[ -f "$(alt_prefix)/lib/ld-x86-64.so.1" ]] ; then
|
|
1565 |
if [[ -f "${D}/$(alt_prefix)/lib/ld-x86-64.so.1" ]] ; then
|
| 1561 |
1566 |
die "Somehow your amd64 hurd glibc installed /lib/ld-x86-64.so.1 ... this should not happen."
|
| 1562 |
1567 |
fi
|
| 1563 |
1568 |
|
| ... | ... | |
| 1567 |
1572 |
|
| 1568 |
1573 |
if is_hurd && has x86 $(get_install_abis) ; then
|
| 1569 |
1574 |
# First, let's check for sanity
|
| 1570 |
|
if [[ -f "$(alt_prefix)/$(get_abi_LIBDIR x86)/ld.so" ]] ; then
|
|
1575 |
if [[ -f "${D}/$(alt_prefix)/$(get_abi_LIBDIR x86)/ld.so" ]] ; then
|
| 1571 |
1576 |
die "Somehow your x86 hurd glibc installed ld.so ... this should not happen."
|
| 1572 |
1577 |
fi
|
| 1573 |
1578 |
|