diff options
author | Sergei Trofimovich <slyfox@gentoo.org> | 2020-01-18 13:00:51 +0000 |
---|---|---|
committer | Sergei Trofimovich <slyfox@gentoo.org> | 2020-01-18 13:00:51 +0000 |
commit | 6c157870913fe24e96d80ee1e89e106d74916050 (patch) | |
tree | 004f42aca7e1bd5da3ca283cab401ea8cd8c657a /eclass | |
parent | games-arcade/sdlsasteroids: Fix LICENSE. (diff) | |
download | gentoo-6c157870913fe24e96d80ee1e89e106d74916050.tar.gz gentoo-6c157870913fe24e96d80ee1e89e106d74916050.tar.bz2 gentoo-6c157870913fe24e96d80ee1e89e106d74916050.zip |
toolchain.eclass: include commit into gcc version for live ebuilds
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/toolchain.eclass | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass index bd3d024f9891..5acaa2ffc688 100644 --- a/eclass/toolchain.eclass +++ b/eclass/toolchain.eclass @@ -538,6 +538,10 @@ toolchain_src_prepare() { do_gcc_PIE_patches do_gcc_CYGWINPORTS_patches + if [[ ${PV} == *9999* ]] ; then + BRANDING_GCC_PKGVERSION="${BRANDING_GCC_PKGVERSION}, commit ${EGIT_VERSION}" + fi + case ${EAPI:-0} in 5*) epatch_user;; 6|7) eapply_user ;; |