summaryrefslogtreecommitdiff
path: root/package/binutils/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'package/binutils/Makefile')
-rw-r--r--package/binutils/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/package/binutils/Makefile b/package/binutils/Makefile
index c6f414065..7bbe48e0d 100644
--- a/package/binutils/Makefile
+++ b/package/binutils/Makefile
@@ -24,6 +24,9 @@ CONFIGURE_ARGS+= --disable-werror \
--host=$(REAL_GNU_TARGET_NAME) \
--target=$(REAL_GNU_TARGET_NAME)
+pre-build:
+ @-rm $(STAGING_TARGET_DIR)/lib/libiberty.a $(STAGING_TARGET_DIR)/usr/lib/libiberty.a
+
libbfd-install:
${INSTALL_DIR} ${IDIR_LIBBFD}/usr/lib
$(CP) ${WRKINST}/usr/lib/*.so ${IDIR_LIBBFD}/usr/lib