# HG changeset patch # User Rob Landley # Date 1416861921 21600 # Node ID 60043af4120e4498f08b53f6bb4a691fefadcd5f # Parent b4c2a3b88ae31f11dee9f1665b128fe13ab88887 Make binutils install the extra things elf2flt needs in a less silly place. diff -r b4c2a3b88ae3 -r 60043af4120e sources/patches/binutils-bfd.patch --- /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 + + +