aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJory Pratt <anarchy@gentoo.org>2020-03-21 22:12:57 -0500
committerJory Pratt <anarchy@gentoo.org>2020-03-21 22:12:57 -0500
commit59e85981163c13a121a99faa17de185976436461 (patch)
tree42e486bf0a4a4a42d3296dcc8dbb8193009b941b /sys-devel
parentprofile/package.unmask: unmask elfutils for musl profile (diff)
downloadmusl-59e85981163c13a121a99faa17de185976436461.tar.gz
musl-59e85981163c13a121a99faa17de185976436461.tar.bz2
musl-59e85981163c13a121a99faa17de185976436461.zip
sys-devel/gcc: Version bump 9.3.0
Package-Manager: Portage-2.3.94, Repoman-2.3.21 Signed-off-by: Jory Pratt <anarchy@gentoo.org>
Diffstat (limited to 'sys-devel')
-rw-r--r--sys-devel/gcc/Manifest2
-rw-r--r--sys-devel/gcc/gcc-9.3.0.ebuild33
2 files changed, 35 insertions, 0 deletions
diff --git a/sys-devel/gcc/Manifest b/sys-devel/gcc/Manifest
index d9042e9..a9b0b6c 100644
--- a/sys-devel/gcc/Manifest
+++ b/sys-devel/gcc/Manifest
@@ -6,3 +6,5 @@ DIST gcc-8.3.0.tar.xz 63694700 BLAKE2B 71df2ff5bd6874d57519c2e9af6b22152c8c4d7fa
DIST gcc-9.2.0-patches-4.tar.bz2 21655 BLAKE2B 2acf6d83ec934a65e77d2079a024b42622e1234f0516f12839f7d03c2f3e1bb275037b020e35ba847d6809d5577ba966619c78345b75355df0a754d02ccf9819 SHA512 114e01a7b08ecb1feab24ef3cfc72c8953748f1526722b80c18602025eef132e2b4c05db59c7a23eb2e7f42ed48eb02d92bcd73b1ca932374d6bedaf89cc66d0
DIST gcc-9.2.0-patches-5.tar.bz2 22929 BLAKE2B 2d8a69098d836d24ec295e2e0ff6864f34914473b1e4ae1630c3ee23c16aba8ee1a9c943c89a629d1c8a2d2018796ac4b01992fcd9d926c693423041572c8155 SHA512 79961204054b1eb91e87bb9f226ce236ffb8bacf1550b7a5abaf8c121fa373d9fa8fcd56f201887976f76056a22cf75a418b6221d0ea35050d3ec4465a764fc0
DIST gcc-9.2.0.tar.xz 70607648 BLAKE2B 41a5e148f9a6857d6599679964c203533f76f330ad527fbe7c5e746d78f6f6f6d6d0f330a67cb1e794e155be8d1cd6e986bcc8a116d620dca410b78f0bcdd453 SHA512 a12dff52af876aee0fd89a8d09cdc455f35ec46845e154023202392adc164848faf8ee881b59b681b696e27c69fd143a214014db4214db62f9891a1c8365c040
+DIST gcc-9.3.0-patches-1.tar.bz2 12659 BLAKE2B 03937d13f58fbcb84bbe3111c7dad7c53767501c443f7e21ac078d37d067fe0e7022589e94a9cfb38d164fd4c1cecfce57f28165e0577fa6e06b189abf348459 SHA512 08b2c9a20b17e06c6721c7193d40e085308b561376a4c35a5ec6ff19ee4f414fead25febbd4d95c8d09586893af83d818d8d5f23bfb16794bffe4439d0b0d8be
+DIST gcc-9.3.0.tar.xz 70533868 BLAKE2B 21efb1432aefad5ed9b9b395e88ef2adfda3a8ea6e3e808cd151da6e66df9fed1bafdc8b8ff055d4b2272ac786d8b7ddc4293bb6b51c55c40a261a0eda0e7cb4 SHA512 4b9e3639eef6e623747a22c37a904b4750c93b6da77cf3958d5047e9b5ebddb7eebe091cc16ca0a227c0ecbd2bf3b984b221130f269a97ee4cc18f9cf6c444de
diff --git a/sys-devel/gcc/gcc-9.3.0.ebuild b/sys-devel/gcc/gcc-9.3.0.ebuild
new file mode 100644
index 0000000..5957e36
--- /dev/null
+++ b/sys-devel/gcc/gcc-9.3.0.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="7"
+
+PATCH_VER="1"
+
+inherit toolchain
+
+KEYWORDS="~amd64 ~arm ~arm64 ~mips ~ppc ~ppc64 ~x86"
+
+RDEPEND=""
+DEPEND="${RDEPEND}
+ elibc_glibc? ( >=sys-libs/glibc-2.13 )
+ >=${CATEGORY}/binutils-2.20"
+
+if [[ ${CATEGORY} != cross-* ]] ; then
+ PDEPEND="${PDEPEND} elibc_glibc? ( >=sys-libs/glibc-2.13 )"
+fi
+
+src_prepare() {
+ toolchain_src_prepare
+
+ if use elibc_musl || [[ ${CATEGORY} = cross-*-musl* ]]; then
+ eapply "${FILESDIR}"/6.3.0/cpu_indicator.patch
+ eapply "${FILESDIR}"/7.1.0/posix_memalign.patch
+ case $(tc-arch) in
+ amd64|arm64|ppc64) eapply "${FILESDIR}"/8.3.0/gcc-pure64.patch ;;
+ esac
+ fi
+
+ eapply_user
+}