diff options
Diffstat (limited to 'dev-libs/gmp/gmp-6.1.2.ebuild')
-rw-r--r-- | dev-libs/gmp/gmp-6.1.2.ebuild | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/dev-libs/gmp/gmp-6.1.2.ebuild b/dev-libs/gmp/gmp-6.1.2.ebuild index 266f6ce8b86a..9134d5cfa90e 100644 --- a/dev-libs/gmp/gmp-6.1.2.ebuild +++ b/dev-libs/gmp/gmp-6.1.2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI="5" @@ -39,6 +39,11 @@ src_prepare() { epatch "${FILESDIR}"/${PN}-6.1.0-noexecstack-detect.patch + # https://bugs.gentoo.org/536894 + if [[ ${CHOST} == *-darwin* ]] ; then + epatch "${FILESDIR}"/${PN}-6.1.2-gcc-apple-4.0.1.patch + fi + # GMP uses the "ABI" env var during configure as does Gentoo (econf). # So, to avoid patching the source constantly, wrap things up. mv configure configure.wrapped || die |