summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--README3
-rwxr-xr-xbuild4
2 files changed, 3 insertions, 4 deletions
diff --git a/README b/README
index e7e181f..51158a0 100644
--- a/README
+++ b/README
@@ -6,8 +6,6 @@ Interesting Patches
ld needs to be built with multiarch library directories in its list of search
paths. Debian has [a patch][debian-ld-ma-patch] to which we can refer for this.
-Additionally, ld scripts need to be installed in the [correct
-location][debian-ld-scriptdir-patch].
Building the Binutils Package
-----------------------------
@@ -17,4 +15,3 @@ package.
[debian-ld-ma-patch]: http://patch-tracker.debian.org/patch/series/view/binutils/2.22-7.1/129_ld_mulitarch_dirs.patch
-[debian-ld-scriptdir-patch]: http://patch-tracker.debian.org/patch/series/view/binutils/2.22-7.1/001_ld_makefile_patch.patch
diff --git a/build b/build
index 32c412a..92cefe0 100755
--- a/build
+++ b/build
@@ -47,7 +47,9 @@ install.stamp: build
# Install everything.
for target in $(PKG_TARGETS); do \
cd "build-$${target}" && \
- make CFLAGS='$(CFLAGS)' prefix="$${PWD}/../dest/usr" install && \
+ make CFLAGS='$(CFLAGS)' \
+ prefix="$${PWD}/../dest/usr" tooldir="$${PWD}/../dest/usr" \
+ install && \
cd ..; \
done
# Remove static library dependency metadata generated by libtool.