aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2014-01-06 18:15:31 +0000
committerMike Frysinger <vapier@gentoo.org>2014-01-06 13:44:33 -0500
commit369be6981b26787b2685e3b8c6da779dae8ce35f (patch)
treea40bc82cd0ceddb08621885cf8781435d914f8d6
parentfd259167db97c2b453be8029dc8b6893899e8b4e (diff)
downloadgdb-369be6981b26787b2685e3b8c6da779dae8ce35f.zip
gdb-369be6981b26787b2685e3b8c6da779dae8ce35f.tar.gz
gdb-369be6981b26787b2685e3b8c6da779dae8ce35f.tar.bz2
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
-rw-r--r--libiberty/ChangeLog6
-rwxr-xr-xlibiberty/configure1
-rw-r--r--libiberty/configure.ac1
3 files changed, 6 insertions, 2 deletions
diff --git a/libiberty/ChangeLog b/libiberty/ChangeLog
index 9a5ace1..ad0b1bd 100644
--- a/libiberty/ChangeLog
+++ b/libiberty/ChangeLog
@@ -1,3 +1,9 @@
+2014-01-06 Mike Frysinger <vapier@gentoo.org>
+
+ PR other/56780
+ * configure.ac: Delete target_header_dir assignment.
+ * configure: Regenerated.
+
2014-01-06 Gary Benson <gbenson@redhat.com>
* cp-demangle.c (struct d_print_info): New fields
diff --git a/libiberty/configure b/libiberty/configure
index 8ea54da..7bde9b3 100755
--- a/libiberty/configure
+++ b/libiberty/configure
@@ -5510,7 +5510,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 4ad88a9..d6180bc 100644
--- a/libiberty/configure.ac
+++ b/libiberty/configure.ac
@@ -411,7 +411,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