summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Seiderer <ps.report@gmx.net>2017-12-08 22:29:52 +0100
committerPeter Korsgaard <peter@korsgaard.com>2017-12-27 17:34:56 +0100
commit20dfaf1c6b8a43851660c608c97472768ea270f1 (patch)
tree08022c125ba08ef9814a6fb2b362980e7574acf5
parent27515ea499ac41d4d45982ae4819a799ffdef5ed (diff)
downloadbuildroot-20dfaf1c6b8a43851660c608c97472768ea270f1.tar.gz
buildroot-20dfaf1c6b8a43851660c608c97472768ea270f1.zip
gdb: prevent installation of libbfd.so and libopcode.so
The gdb install target installs dynamic versions of libbfd and libopcode, accidentally overwriting the binutils provided versions (gdb itself links against the bundled static ones to avoid version problems, so the dynamic ones are un-needed). Prevent the installation by using the '--disable-install-libbfd' configure option. Signed-off-by: Peter Seiderer <ps.report@gmx.net> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> (cherry picked from commit b54c7931952874a814e48df75093e13ad955604f) Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
-rw-r--r--package/gdb/gdb.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/package/gdb/gdb.mk b/package/gdb/gdb.mk
index 7e86ba0c7e..5ca464ad46 100644
--- a/package/gdb/gdb.mk
+++ b/package/gdb/gdb.mk
@@ -55,9 +55,11 @@ endif
# When gdb sources are fetched from the binutils-gdb repository, they
# also contain the binutils sources, but binutils shouldn't be built,
-# so we disable it.
+# so we disable it (additionally the option --disable-install-libbfd
+# prevents the un-wanted installation of libobcodes.so and libbfd.so).
GDB_DISABLE_BINUTILS_CONF_OPTS = \
--disable-binutils \
+ --disable-install-libbfd \
--disable-ld \
--disable-gas
OpenPOWER on IntegriCloud