This fixes a bug, where ld on ARM EABI platforms expects OABI code.

Signed-off-by: Harald Geyer <[email protected]>
---
Resending as I didn't get many comments the first time.
This has been tested by me on mxs and by nwf on kirkwood.

 package/devel/binutils/Makefile |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/package/devel/binutils/Makefile b/package/devel/binutils/Makefile
index cf77690..c5a0717 100644
--- a/package/devel/binutils/Makefile
+++ b/package/devel/binutils/Makefile
@@ -69,6 +69,8 @@ endef
 TARGET_CFLAGS += $(FPIC) -Wno-unused-value
 
 CONFIGURE_ARGS += \
+       --host=$(REAL_GNU_TARGET_NAME) \
+       --target=$(REAL_GNU_TARGET_NAME) \
        --enable-shared \
        --enable-install-libiberty \
        --enable-install-libbfd
-- 
1.7.2.5
_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to