* [gentoo-commits] repo/gentoo:master commit in: sys-freebsd/freebsd-libexec/
@ 2016-01-30 12:43 99% Michał Górny
0 siblings, 0 replies; 1+ results
From: Michał Górny @ 2016-01-30 12:43 UTC (permalink / raw
To: gentoo-commits
commit: af4a98f9d64537dba6f7db310806e4393720a4b6
Author: Yuta Satoh <nigoro.dev <AT> gmail <DOT> com>
AuthorDate: Sat Jan 30 07:38:35 2016 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Jan 30 07:38:35 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=af4a98f9
sys-freebsd/freebsd-libexec: Add a workaround for gcc-5.0 or later.
Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=573358
sys-freebsd/freebsd-libexec/freebsd-libexec-10.2.ebuild | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/sys-freebsd/freebsd-libexec/freebsd-libexec-10.2.ebuild b/sys-freebsd/freebsd-libexec/freebsd-libexec-10.2.ebuild
index cf509b2..89c29a0 100644
--- a/sys-freebsd/freebsd-libexec/freebsd-libexec-10.2.ebuild
+++ b/sys-freebsd/freebsd-libexec/freebsd-libexec-10.2.ebuild
@@ -4,7 +4,7 @@
EAPI=5
-inherit bsdmk freebsd pam multilib multibuild multilib-build
+inherit bsdmk freebsd pam multilib multibuild multilib-build toolchain-funcs
DESCRIPTION="FreeBSD libexec things"
SLOT="0"
@@ -53,6 +53,9 @@ pkg_setup() {
}
src_prepare() {
+ # gcc-5.0 or later, Workaround for critical issue. bug 573358.
+ [[ "$(gcc-major-version)" -ge 5 ]] && replace-flags -O[2-9] -O1
+
if [[ ! -e "${WORKDIR}/include" ]]; then
ln -s /usr/include "${WORKDIR}/include" || die "Symlinking /usr/include.."
fi
^ permalink raw reply related [relevance 99%]
Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2016-01-30 12:43 99% [gentoo-commits] repo/gentoo:master commit in: sys-freebsd/freebsd-libexec/ Michał Górny
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox