summaryrefslogtreecommitdiff
path: root/package/binutils
diff options
context:
space:
mode:
Diffstat (limited to 'package/binutils')
-rw-r--r--package/binutils/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/package/binutils/Makefile b/package/binutils/Makefile
index e429001bf..3abf670cd 100644
--- a/package/binutils/Makefile
+++ b/package/binutils/Makefile
@@ -41,9 +41,11 @@ CONFIGURE_ARGS+= --disable-werror \
else
CONFIGURE_ARGS+= --disable-werror
endif
+# disable honour cflags stuff
+XAKE_FLAGS+= GCC_HONOUR_COPTS=s
-pre-build:
- @-rm $(STAGING_TARGET_DIR)/lib/libiberty.a $(STAGING_TARGET_DIR)/usr/lib/libiberty.a
+post-build:
+ $(CP) ${WRKBUILD}/libiberty/libiberty.a $(STAGING_TARGET_DIR)/usr/lib
libbfd-install:
${INSTALL_DIR} ${IDIR_LIBBFD}/usr/lib