summaryrefslogtreecommitdiff
path: root/package/gdb
diff options
context:
space:
mode:
authorPhil Sutter <phil.sutter@viprinet.com>2015-02-24 12:46:58 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2015-02-28 10:14:27 +0100
commit57b934e66a02037a1e053c5ed9e82277c8519cf7 (patch)
treefc270d352162786b12cfc33e34cf29cf8cf646fb /package/gdb
parent2c333655f154cfd1bc5e983d3c56a10c1a105771 (diff)
package/gdb: prevent shipped libbfd from cluttering the system wide one
This lib won't get installed anyway, packages linking against libbfd should simply depend on the libbfd provided by binutils.
Diffstat (limited to 'package/gdb')
-rw-r--r--package/gdb/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/package/gdb/Makefile b/package/gdb/Makefile
index 8cb1b5b8f..3dbe4d2f9 100644
--- a/package/gdb/Makefile
+++ b/package/gdb/Makefile
@@ -43,5 +43,7 @@ XAKE_FLAGS+= GCC_HONOUR_COPTS:=s
gdb-install:
${INSTALL_DIR} ${IDIR_GDB}/usr/bin
${INSTALL_BIN} ${WRKINST}/usr/bin/gdb ${IDIR_GDB}/usr/bin/
+ # shipped libbfd conflicts with system wide one
+ rm -f ${WRKINST}/usr/lib/libbfd*
include ${ADK_TOPDIR}/mk/pkg-bottom.mk