diff options
author | Arnout Vandecappelle <arnout@mind.be> | 2014-02-22 23:33:30 +0100 |
---|---|---|
committer | Peter Korsgaard <peter@korsgaard.com> | 2014-02-22 23:56:39 +0100 |
commit | 70ee9fcdfcf6fc7cb214e454afe55cbffec84621 (patch) | |
tree | cc796e25a3ddbb9aa22f64bfb94e8c4027123245 | |
parent | a9baea4345625f6f00fc59395faec83e08346015 (diff) | |
download | buildroot-70ee9fcdfcf6fc7cb214e454afe55cbffec84621.tar.gz buildroot-70ee9fcdfcf6fc7cb214e454afe55cbffec84621.zip |
binutils: install libiberty
Some packages (actually, just oprofile) need to link against libiberty.
This option just installs libiberty.a so it has no effect on the target,
therefore it's not needed to add a config option for it.
Before binutils-2.24, there was a bug in libiberty/Makefile.in that
caused libiberty to be installed regardless of the
--enable-install-libiberty option. This problem wasn't noticed before
because binutils-2.24 is not selected on any of the autobuilders: the
version can only be selected if an internal toolchain is used, and it
defaults to 2.21.
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
-rw-r--r-- | package/binutils/binutils.mk | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/package/binutils/binutils.mk b/package/binutils/binutils.mk index d6828f5efd..b5a2dc7fc5 100644 --- a/package/binutils/binutils.mk +++ b/package/binutils/binutils.mk @@ -51,6 +51,7 @@ endif BINUTILS_CONF_OPT = --disable-multilib --disable-werror \ --host=$(GNU_TARGET_NAME) \ --target=$(GNU_TARGET_NAME) \ + --enable-install-libiberty \ $(BINUTILS_EXTRA_CONFIG_OPTIONS) # Install binutils after busybox to prefer full-blown utilities |