summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabian Groffen <grobian@gentoo.org>2010-03-22 20:49:27 +0000
committerFabian Groffen <grobian@gentoo.org>2010-03-22 20:49:27 +0000
commitcf2a5c31062288203a288e595475d8c24aaf52e2 (patch)
tree51670d7ea72a73d19db89ce525a7323e17ecbe31 /sys-devel/binutils-apple
parentFixed unquoted VARs (diff)
downloadgentoo-2-cf2a5c31062288203a288e595475d8c24aaf52e2.tar.gz
gentoo-2-cf2a5c31062288203a288e595475d8c24aaf52e2.tar.bz2
gentoo-2-cf2a5c31062288203a288e595475d8c24aaf52e2.zip
Tell ar to build an index, such that the linker doesn't fail with 'archive has no table of contents' on intel platforms
(Portage version: 2.2.00.15838-prefix/cvs/Darwin powerpc)
Diffstat (limited to 'sys-devel/binutils-apple')
-rw-r--r--sys-devel/binutils-apple/ChangeLog7
-rw-r--r--sys-devel/binutils-apple/files/ld64-95.2.12-Makefile4
2 files changed, 8 insertions, 3 deletions
diff --git a/sys-devel/binutils-apple/ChangeLog b/sys-devel/binutils-apple/ChangeLog
index 9896b894f504..9755dca34386 100644
--- a/sys-devel/binutils-apple/ChangeLog
+++ b/sys-devel/binutils-apple/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sys-devel/binutils-apple
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/binutils-apple/ChangeLog,v 1.8 2010/03/21 20:41:45 grobian Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/binutils-apple/ChangeLog,v 1.9 2010/03/22 20:49:26 grobian Exp $
+
+ 22 Mar 2010; Fabian Groffen <grobian@gentoo.org>
+ files/ld64-95.2.12-Makefile:
+ Tell ar to build an index, such that the linker doesn't fail with 'archive
+ has no table of contents' on intel platforms
21 Mar 2010; Fabian Groffen <grobian@gentoo.org>
binutils-apple-3.2-r1.ebuild,
diff --git a/sys-devel/binutils-apple/files/ld64-95.2.12-Makefile b/sys-devel/binutils-apple/files/ld64-95.2.12-Makefile
index bed5d5a1f3e5..8016434d3849 100644
--- a/sys-devel/binutils-apple/files/ld64-95.2.12-Makefile
+++ b/sys-devel/binutils-apple/files/ld64-95.2.12-Makefile
@@ -1,10 +1,10 @@
CPPFLAGS += -Iinclude -Iabstraction -Ild -Iother -I.
-#all: machocheck rebase unwinddump dyldinfo ObjectDump ld64
+# dropped machocheck due to compilation failures
all: rebase unwinddump dyldinfo ObjectDump ld64
libprunetrie.a: other/PruneTrie.o other/prune_trie.h
- $(AR) -r -c libprunetrie.a other/PruneTrie.o
+ $(AR) -s -r -c libprunetrie.a other/PruneTrie.o
ld64: libprunetrie.a ld/ld.o ld/Options.o ld/debugline.o version.o
$(CXX) $(CXXFLAGS) $(LDFLAGS) -o $@ $^