e40840194d1f8f1f5f3cee1cb9910623674fc632
[packages/trusty/cirros-testvm.git] / cirros-testvm / src-cirros / buildroot-2015.05 / package / binutils / 2.24 / 001-fix-enable-install-libiberty-flag.patch
1 From 369be6981b26787b2685e3b8c6da779dae8ce35f Mon Sep 17 00:00:00 2001
2 From: Mike Frysinger <vapier@gentoo.org>
3 Date: Mon, 6 Jan 2014 18:15:31 +0000
4 Subject: [PATCH] libiberty: fix --enable-install-libiberty flag [PR 56780]
5
6 Commit 199570 fixed the --disable-install-libiberty behavior, but it also
7 added a bug where the enable path never works because the initial clear
8 of target_header_dir wasn't deleted.  So we end up initializing properly
9 at the top only to reset it at the end all the time.
10
11 [Arnout: adapt to match 2.24 tarball]
12 Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
13
14 git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@206367 138bc75d-0d04-0410-961f-82ee72b054a4
15 ---
16  libiberty/configure    |    1 -
17  libiberty/configure.ac |    1 -
18  3 files changed, 6 insertions(+), 2 deletions(-)
19
20 diff --git a/libiberty/configure b/libiberty/configure
21 index 8ea54da..7bde9b3 100755
22 --- a/libiberty/configure
23 +++ b/libiberty/configure
24 @@ -5507,7 +5507,6 @@ fi
25  
26  setobjs=
27  CHECK=
28 -target_header_dir=
29  if test -n "${with_target_subdir}"; then
30  
31    # We are being configured as a target library.  AC_REPLACE_FUNCS
32 diff --git a/libiberty/configure.ac b/libiberty/configure.ac
33 index 4ad88a9..d6180bc 100644
34 --- a/libiberty/configure.ac
35 +++ b/libiberty/configure.ac
36 @@ -405,7 +405,6 @@ fi
37  
38  setobjs=
39  CHECK=
40 -target_header_dir=
41  if test -n "${with_target_subdir}"; then
42  
43    # We are being configured as a target library.  AC_REPLACE_FUNCS
44 -- 
45 1.7.1
46