changeset 1711:60043af4120e

Make binutils install the extra things elf2flt needs in a less silly place.
author Rob Landley <rob@landley.net>
date Mon, 24 Nov 2014 14:45:21 -0600
parents b4c2a3b88ae3
children 7be9fee02572
files sources/patches/binutils-bfd.patch
diffstat 1 files changed, 17 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/sources/patches/binutils-bfd.patch	Mon Nov 24 14:45:21 2014 -0600
@@ -0,0 +1,17 @@
+Building elf2flt needs libbfd, and installing it in a gratuitously different
+directory than libdeath is silly. We're not doing multilib, stoppit.
+
+diff -ru binutils/bfd/configure binutils.bak/bfd/configure
+--- binutils/bfd/configure	2012-09-23 01:02:58.000000000 -0500
++++ binutils.bak/bfd/configure	2014-11-06 21:05:29.009063812 -0600
+@@ -10709,10 +10709,6 @@
+   # libbfd.a is a host library containing target dependent code
+   bfdlibdir='$(libdir)'
+   bfdincludedir='$(includedir)'
+-  if test "${host}" != "${target}"; then
+-    bfdlibdir='$(exec_prefix)/$(host_noncanonical)/$(target_noncanonical)/lib'
+-    bfdincludedir='$(exec_prefix)/$(host_noncanonical)/$(target_noncanonical)/include'
+-  fi
+ 
+ 
+