summaryrefslogtreecommitdiffstats
path: root/patches/binutils-2.24/0001-libiberty-fix-enable-install-libiberty-flag-PR-56780.patch
blob: bc21a4ece55838ab2da2007bbe8e923e0d534dd6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
From: Mike Frysinger <vapier@gentoo.org>
Date: Mon, 6 Jan 2014 18:15:31 +0000
Subject: [PATCH] libiberty: fix --enable-install-libiberty flag [PR 56780]

Commit 199570 fixed the --disable-install-libiberty behavior, but it also
added a bug where the enable path never works because the initial clear
of target_header_dir wasn't deleted.  So we end up initializing properly
at the top only to reset it at the end all the time.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@206367 138bc75d-0d04-0410-961f-82ee72b054a4
---
 libiberty/configure    | 1 -
 libiberty/configure.ac | 1 -
 2 files changed, 2 deletions(-)

diff --git a/libiberty/configure b/libiberty/configure
index e601ccd..878fa53 100755
--- a/libiberty/configure
+++ b/libiberty/configure
@@ -5507,7 +5507,6 @@ fi
 
 setobjs=
 CHECK=
-target_header_dir=
 if test -n "${with_target_subdir}"; then
 
   # We are being configured as a target library.  AC_REPLACE_FUNCS
diff --git a/libiberty/configure.ac b/libiberty/configure.ac
index fcea46f..f17e6b6 100644
--- a/libiberty/configure.ac
+++ b/libiberty/configure.ac
@@ -405,7 +405,6 @@ fi
 
 setobjs=
 CHECK=
-target_header_dir=
 if test -n "${with_target_subdir}"; then
 
   # We are being configured as a target library.  AC_REPLACE_FUNCS