Mercurial > hg > aboriginal
comparison sources/patches/binutils-bfd.patch @ 1773:eca87f8f58fb draft
Changes to build cross-compiler-sh2eb.
author | Rob Landley <rob@landley.net> |
---|---|
date | Sun, 21 Jun 2015 12:31:58 -0500 |
parents | 60043af4120e |
children |
comparison
equal
deleted
inserted
replaced
1772:cd90d547dba8 | 1773:eca87f8f58fb |
---|---|
1 Building elf2flt needs libbfd, and installing it in a gratuitously different | 1 diff -ruN binutils/bfd/configure binutils.bak/bfd/configure |
2 directory than libdeath is silly. We're not doing multilib, stoppit. | |
3 | |
4 diff -ru binutils/bfd/configure binutils.bak/bfd/configure | |
5 --- binutils/bfd/configure 2012-09-23 01:02:58.000000000 -0500 | 2 --- binutils/bfd/configure 2012-09-23 01:02:58.000000000 -0500 |
6 +++ binutils.bak/bfd/configure 2014-11-06 21:05:29.009063812 -0600 | 3 +++ binutils.bak/bfd/configure 2015-06-20 22:30:34.088466082 -0500 |
7 @@ -10709,10 +10709,6 @@ | 4 @@ -10703,21 +10703,9 @@ |
8 # libbfd.a is a host library containing target dependent code | 5 |
9 bfdlibdir='$(libdir)' | 6 # Need _noncanonical variables for this. |
10 bfdincludedir='$(includedir)' | 7 |
8 - | |
9 - | |
10 - | |
11 - # libbfd.a is a host library containing target dependent code | |
12 - bfdlibdir='$(libdir)' | |
13 - bfdincludedir='$(includedir)' | |
11 - if test "${host}" != "${target}"; then | 14 - if test "${host}" != "${target}"; then |
12 - bfdlibdir='$(exec_prefix)/$(host_noncanonical)/$(target_noncanonical)/lib' | 15 - bfdlibdir='$(exec_prefix)/$(host_noncanonical)/$(target_noncanonical)/lib' |
13 - bfdincludedir='$(exec_prefix)/$(host_noncanonical)/$(target_noncanonical)/include' | 16 - bfdincludedir='$(exec_prefix)/$(host_noncanonical)/$(target_noncanonical)/include' |
14 - fi | 17 - fi |
18 - | |
19 - | |
20 - | |
21 - | |
22 - | |
23 +# libbfd.a is a host library containing target dependent code | |
24 +bfdlibdir='$(exec_prefix)/host/lib' | |
25 +bfdincludedir='$(exec_prefix)/host/include' | |
15 | 26 |
27 host64=false | |
28 target64=false | |
29 diff -ruN binutils/opcodes/configure binutils.bak/opcodes/configure | |
30 --- binutils/opcodes/configure 2012-09-23 01:03:01.000000000 -0500 | |
31 +++ binutils.bak/opcodes/configure 2015-06-20 22:31:22.316466235 -0500 | |
32 @@ -9847,23 +9847,11 @@ | |
33 INSTALL_LIBBFD_FALSE= | |
34 fi | |
16 | 35 |
36 - # Need _noncanonical variables for this. | |
37 - | |
38 - | |
39 - | |
40 - | |
41 - # libbfd.a is a host library containing target dependent code | |
42 - bfdlibdir='$(libdir)' | |
43 - bfdincludedir='$(includedir)' | |
44 - if test "${host}" != "${target}"; then | |
45 - bfdlibdir='$(exec_prefix)/$(host_noncanonical)/$(target_noncanonical)/lib' | |
46 - bfdincludedir='$(exec_prefix)/$(host_noncanonical)/$(target_noncanonical)/include' | |
47 - fi | |
48 - | |
49 - | |
50 - | |
51 - | |
52 +# Need _noncanonical variables for this. | |
17 | 53 |
54 +# libbfd.a is a host library containing target dependent code | |
55 +bfdlibdir='$(exec_prefix)/host/lib' | |
56 +bfdincludedir='$(exec_prefix)/host/include' | |
57 | |
58 # host-specific stuff: | |
59 |