mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-22 23:07:10 -08:00
sys-devel/kgcc64: bump up to 10.1.0
Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
DIST gcc-10.1.0-patches-1.tar.bz2 13432 BLAKE2B 2f0517778eb012288ae305a91f84eb31a5f08f842c504201f1a8085afd42ed4c9b4a5b15f7553982c926735e8ea57307a1749004e679880ef47abad7d4596115 SHA512 cc513d8b68dcf484d37c51961c809fc6c470a8341f068b4029430ca4677e7b49155c3d964b3b9ab50c69835b32db98bcb9a91f14de14417e4611521059192118
|
||||
DIST gcc-10.1.0.tar.xz 74591240 BLAKE2B d64cf01beaaff7af9e7d5b1d5e6fdfb37cce5667b4455c1c9bbfd190e631f03555d63d52d31e7be5ac232256be11058f89d5bc7d0dcb01de44e90a52645ad87f SHA512 0cb2a74c793face751f42bc580960b00e2bfea785872a0a2155f1f1dbfaa248f9591b67f4322db0f096f8844aca9243bc02732bda106c3b6e43b02bb67eb3096
|
||||
DIST gcc-4.1.2-patches-1.0.1.tar.bz2 43294 BLAKE2B e8040fb94925a622e5fffee820cb1094989210decab95175844ce729216a439b730381fa457e3a607f124c4b9d249427bfdd85fa9e62cb96199a911509c06736 SHA512 79f1d47d364462325a927b35b66bbdc68c100dbb6c86a6dd524d0e1cd09b7135c3789e80b71539cec63befbeea1a0e9b456b53ab0a5580b64509f78231d3fdc5
|
||||
DIST gcc-4.1.2.tar.bz2 39707720 BLAKE2B 966b6a64c118456c7fb66eb2ad0dd84b1d53ad88dcbd146f446ef097a6975f5d6a7f1bcbbc4bfcd4e48b00eeb8054728e412db3d9818cff1f195e37859a4e510 SHA512 b97d3b72a3b0355611d5090b2c715b7a774f0e466a89326a0226c2809d12dfafb2d7c5a7af54bd5e00c135bbb6596f535e1a484740f7f1f691e8a57e6f0425cc
|
||||
DIST gcc-4.2.4-patches-1.0.tar.bz2 21809 BLAKE2B 5ae6eddeeb6f39fc6364f093d7ec166d053dce33d25d0f0d128dcdb95de6a203b993b60302b56bb347e76fbb50f932642e64ae0dadcc7d824600056e1e26432b SHA512 20eb3fa790e5cc1bd66c9ad1915c73c20ae8977d6789addaf4863184e6d5c25ab9b0f2c40e3ad08a6859825b2e97bf0839e0a616730362072aa35e8ae158a427
|
||||
|
||||
@@ -0,0 +1,42 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
case ${CHOST} in
|
||||
hppa*) CTARGET=hppa64-${CHOST#*-};;
|
||||
mips*) CTARGET=${CHOST/mips/mips64};;
|
||||
powerpc*) CTARGET=${CHOST/powerpc/powerpc64};;
|
||||
s390*) CTARGET=${CHOST/s390/s390x};;
|
||||
sparc*) CTARGET=${CHOST/sparc/sparc64};;
|
||||
i?86*) CTARGET=x86_64-${CHOST#*-};;
|
||||
esac
|
||||
export CTARGET
|
||||
TOOLCHAIN_ALLOWED_LANGS="c"
|
||||
GCC_TARGET_NO_MULTILIB=true
|
||||
|
||||
PATCH_VER="1"
|
||||
inherit toolchain
|
||||
|
||||
DESCRIPTION="64bit kernel compiler"
|
||||
|
||||
# Works on hppa and mips; all other archs, refer to bug #228115
|
||||
KEYWORDS="~hppa ~mips"
|
||||
|
||||
# unlike every other target, hppa has not unified the 32/64 bit
|
||||
# ports in binutils yet
|
||||
DEPEND="hppa? ( sys-devel/binutils-hppa64 )"
|
||||
|
||||
pkg_postinst() {
|
||||
toolchain_pkg_postinst
|
||||
|
||||
cd "${ROOT}"/usr/bin
|
||||
local x
|
||||
for x in gcc cpp ; do
|
||||
cat <<-EOF >${CTARGET%%-*}-linux-${x}
|
||||
#!/bin/sh
|
||||
exec ${CTARGET}-${x} "\$@"
|
||||
EOF
|
||||
chmod a+rx ${CTARGET%%-*}-linux-${x}
|
||||
done
|
||||
}
|
||||
Reference in New Issue
Block a user