diff options
author | Michael Olbrich <m.olbrich@pengutronix.de> | 2014-01-21 16:22:04 +0100 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2014-01-22 08:50:54 +0100 |
commit | 92c73d89b173fc631a61b1f2c04c47b96fbba86f (patch) | |
tree | ab9e255e2fb639e0868d6003c8e750f03d5354f4 /patches/binutils-2.24 | |
parent | 88c7626661ddd0930a45bc1ebcc18c0b58c64f89 (diff) | |
download | ptxdist-92c73d89b173fc631a61b1f2c04c47b96fbba86f.tar.gz ptxdist-92c73d89b173fc631a61b1f2c04c47b96fbba86f.tar.xz |
binutils: add upstream patch to fix installing libiberty
Without this patch libiberty (and headers) is not installed.
It is needed e.g. for oprofile
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'patches/binutils-2.24')
-rw-r--r-- | patches/binutils-2.24/0001-libiberty-fix-enable-install-libiberty-flag-PR-56780.patch | 39 | ||||
-rw-r--r-- | patches/binutils-2.24/series | 4 |
2 files changed, 43 insertions, 0 deletions
diff --git a/patches/binutils-2.24/0001-libiberty-fix-enable-install-libiberty-flag-PR-56780.patch b/patches/binutils-2.24/0001-libiberty-fix-enable-install-libiberty-flag-PR-56780.patch new file mode 100644 index 000000000..bc21a4ece --- /dev/null +++ b/patches/binutils-2.24/0001-libiberty-fix-enable-install-libiberty-flag-PR-56780.patch @@ -0,0 +1,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 diff --git a/patches/binutils-2.24/series b/patches/binutils-2.24/series new file mode 100644 index 000000000..d145aaffe --- /dev/null +++ b/patches/binutils-2.24/series @@ -0,0 +1,4 @@ +# generated by git-ptx-patches +#tag:base --start-number 1 +0001-libiberty-fix-enable-install-libiberty-flag-PR-56780.patch +# bfe5ad55586e538cd59cead3d85d25aa - git-ptx-patches magic |