diff options
Diffstat (limited to 'sys-libs/csu/csu-85.ebuild')
-rw-r--r-- | sys-libs/csu/csu-85.ebuild | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/sys-libs/csu/csu-85.ebuild b/sys-libs/csu/csu-85.ebuild index 052e22dd7b3b..8db643476cbe 100644 --- a/sys-libs/csu/csu-85.ebuild +++ b/sys-libs/csu/csu-85.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2015 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-libs/csu/csu-85.ebuild,v 1.2 2015/02/28 10:53:58 grobian Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-libs/csu/csu-85.ebuild,v 1.3 2015/03/01 09:15:22 grobian Exp $ EAPI=5 @@ -25,9 +25,8 @@ src_prepare() { -e '/^CC = /d' \ Makefile || die - # deal with Availability.h missing - echo "#include <Availability.h>" | $(tc-getCC) -o - -c -x c - >& /dev/null \ - || epatch "${FILESDIR}"/${P}-darwin8.patch + # only require Availability.h for arm, bugs #538602, #539964 + epatch "${FILESDIR}"/${P}-arm-availability.patch if [[ ${CHOST} == powerpc* ]] ; then # *must not* be compiled with -Os on PPC because that |