From 1de6a428509dbca01d2eb5c06b06e54e762af797 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Sat, 28 Jul 2012 06:09:32 -0400 Subject: Set tooldir. Avoid patch. --- 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. -- cgit v0.9.1