[OpenWrt-Devel] [PATCH, RESEND] package/binutils: actually support the target toolchain
Harald Geyer
harald at ccbib.org
Tue Jan 6 11:46:39 EST 2015
This fixes a bug, where ld on ARM EABI platforms expects OABI code.
Signed-off-by: Harald Geyer <harald at ccbib.org>
---
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
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
More information about the openwrt-devel
mailing list