From: Felix Fietkau Date: Wed, 7 Jan 2015 16:02:59 +0000 (+0000) Subject: package/binutils: actually support the target toolchain X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=c228aeef612a34f3de9cb06a817481c4e5aa5c9d;p=openwrt%2Fstaging%2Fansuel.git package/binutils: actually support the target toolchain This fixes a bug, where ld on ARM EABI platforms expects OABI code. Signed-off-by: Harald Geyer SVN-Revision: 43866 --- diff --git a/package/devel/binutils/Makefile b/package/devel/binutils/Makefile index cf7769013c..c5a0717477 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