summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorP. J. McDermott <pjm@nac.net>2012-07-28 06:09:32 (EDT)
committer P. J. McDermott <pjm@nac.net>2012-07-28 06:09:32 (EDT)
commit1de6a428509dbca01d2eb5c06b06e54e762af797 (patch)
treeae1a157f6456bd820635fac24bebfebae96ce890
parent63639278e1f8700364de8bc0fc01a0acf5f34804 (diff)
Set tooldir. Avoid patch.
-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.