diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-12-15 18:09:03 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-12-15 18:09:03 +0000 |
commit | 7bc9c63c9da678a7e6fceb095d56c634afd22c56 (patch) | |
tree | 4a67d50a439e9af63947e5f8b6ba3719af98b6c9 /sys-devel/binutils-apple/binutils-apple-8.2.1-r1.ebuild | |
parent | b284a3168fa91a038925d2ecf5e4791011ea5e7d (diff) |
gentoo resync : 15.12.2019
Diffstat (limited to 'sys-devel/binutils-apple/binutils-apple-8.2.1-r1.ebuild')
-rw-r--r-- | sys-devel/binutils-apple/binutils-apple-8.2.1-r1.ebuild | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/sys-devel/binutils-apple/binutils-apple-8.2.1-r1.ebuild b/sys-devel/binutils-apple/binutils-apple-8.2.1-r1.ebuild index 7df83c36da89..f7a37367f25f 100644 --- a/sys-devel/binutils-apple/binutils-apple-8.2.1-r1.ebuild +++ b/sys-devel/binutils-apple/binutils-apple-8.2.1-r1.ebuild @@ -23,6 +23,7 @@ SRC_URI="http://www.opensource.apple.com/tarballs/ld64/${LD64}.tar.gz LICENSE="APSL-2" KEYWORDS="~x64-macos ~x86-macos" IUSE="lto tapi classic test" +RESTRICT="!test? ( test )" # ld64 can now only be compiled using llvm and libc++ since it massively uses # C++11 language features. *But additionally* the as driver now defaults to @@ -200,8 +201,8 @@ compile_ld64() { LTO_INCDIR=${LLVM_INCDIR} \ LTO_LIBDIR=${LLVM_LIBDIR} \ TAPI=$(use tapi && echo 1 || echo 0) \ - TAPI_LIBDIR="${EPREFIX}"/usr/lib \ - || die "emake failed for ld64" + TAPI_LIBDIR="${EPREFIX}"/usr/lib + use test && emake build_test } @@ -222,16 +223,15 @@ compile_cctools() { RC_ProjectSourceVersion=${CCTOOLS_VERSION} \ RC_CFLAGS="${CFLAGS}" \ OFLAG="${CCTOOLS_OFLAG}" \ - DSYMUTIL=": disabled: dsymutil" \ - || die "emake failed for the cctools" + DSYMUTIL=": disabled: dsymutil" + cd "${S}"/${CCTOOLS}/as emake \ BUILD_OBSOLETE_ARCH= \ RC_ProjectSourceVersion=${CCTOOLS_VERSION} \ RC_CFLAGS="-DASLIBEXECDIR=\"\\\"${EPREFIX}${LIBPATH}/\\\"\" ${CFLAGS}" \ OFLAG="${CCTOOLS_OFLAG}" \ - DSYMUTIL=": disabled: dsymutil" \ - || die "emake failed for as" + DSYMUTIL=": disabled: dsymutil" } src_compile() { |