From: Peter Seiderer Date: Fri, 8 Dec 2017 21:29:52 +0000 (+0100) Subject: gdb: prevent installation of libbfd.so and libopcode.so X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b54c7931952874a814e48df75093e13ad955604f;p=buildroot.git 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 Signed-off-by: Thomas Petazzoni --- 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