]> rtime.felk.cvut.cz Git - coffee/buildroot.git/commitdiff
gdb: prevent installation of libbfd.so and libopcode.so
authorPeter Seiderer <ps.report@gmx.net>
Fri, 8 Dec 2017 21:29:52 +0000 (22:29 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Sat, 30 Dec 2017 23:04:06 +0000 (00:04 +0100)
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>
package/gdb/gdb.mk

index 618111dda89932ea94e4d8653c2ef235a4c9ecb9..e52f42b0cd91cfecc83b9e533c9065061df133ba 100644 (file)
@@ -61,9 +61,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