summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabian Groffen <grobian@gentoo.org>2020-12-21 18:56:44 +0100
committerFabian Groffen <grobian@gentoo.org>2020-12-21 18:57:08 +0100
commitbd39ede440cb499e041b8352703111212fa2e6b6 (patch)
tree966ac4f1687a23f27bef6e4fdaf95b1baec62ef9 /sys-devel/binutils-apple
parentsys-cluster/charliecloud: Drop old. (diff)
downloadgentoo-bd39ede440cb499e041b8352703111212fa2e6b6.tar.gz
gentoo-bd39ede440cb499e041b8352703111212fa2e6b6.tar.bz2
gentoo-bd39ede440cb499e041b8352703111212fa2e6b6.zip
sys-devel/binutils-apple-8.2.1-r100: fix strip's linkage to libprunetrie
Package-Manager: Portage-3.0.9, Repoman-3.0.2 Signed-off-by: Fabian Groffen <grobian@gentoo.org>
Diffstat (limited to 'sys-devel/binutils-apple')
-rw-r--r--sys-devel/binutils-apple/binutils-apple-8.2.1-r100.ebuild11
1 files changed, 11 insertions, 0 deletions
diff --git a/sys-devel/binutils-apple/binutils-apple-8.2.1-r100.ebuild b/sys-devel/binutils-apple/binutils-apple-8.2.1-r100.ebuild
index 09414c80bf15..247ce794be10 100644
--- a/sys-devel/binutils-apple/binutils-apple-8.2.1-r100.ebuild
+++ b/sys-devel/binutils-apple/binutils-apple-8.2.1-r100.ebuild
@@ -24,6 +24,16 @@ BDEPEND=""
S="${WORKDIR}/darwin-xtools-gentoo-${PVR}"
+src_prepare() {
+ cmake_src_prepare
+
+ # make prunetrie a static archive, because the dynamic libs aren't
+ # installed, for there really are no consumers
+ # fixed for next release
+ sed -i -e '/add_library/s/prunetrie/& STATIC/' \
+ ld64/src/CMakeLists.txt || die
+}
+
src_configure() {
CTARGET=${CTARGET:-${CHOST}}
if [[ ${CTARGET} == ${CHOST} ]] ; then
@@ -53,6 +63,7 @@ src_configure() {
-DCMAKE_INSTALL_PREFIX=${EPREFIX}${BINPATH%/*} # cmake insists on /bin
-DCCTOOLS_LD_CLASSIC=NO # fails to link, and is useless anyway
-DXTOOLS_LTO_SUPPORT=NO
+ -DXTOOLS_HAS_LIBPRUNETRIE=YES
-DXTOOLS_TAPI_SUPPORT=$(use tapi && echo ON || echo OFF)
-DXTOOLS_HOST_IS_64B=$(is-host-64bit)
-DXTOOLS_BUGURL="https://bugs.gentoo.org/"