diff --git a/package/gdb/gdb.mk b/package/gdb/gdb.mk index 618111dda8..e52f42b0cd 100644 --- a/package/gdb/gdb.mk +++ b/package/gdb/gdb.mk @@ -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