aboutsummaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2015-01-07 16:02:59 +0000
committerFelix Fietkau <nbd@openwrt.org>2015-01-07 16:02:59 +0000
commitc228aeef612a34f3de9cb06a817481c4e5aa5c9d (patch)
tree9b76217585e7c18d0e3b98daefc5b19eb9ef1cb8 /package
parent7f6af5ddc9512dbb9031d82533288884b6438834 (diff)
downloadupstream-c228aeef612a34f3de9cb06a817481c4e5aa5c9d.tar.gz
upstream-c228aeef612a34f3de9cb06a817481c4e5aa5c9d.tar.bz2
upstream-c228aeef612a34f3de9cb06a817481c4e5aa5c9d.zip
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 <harald@ccbib.org> SVN-Revision: 43866
Diffstat (limited to 'package')
-rw-r--r--package/devel/binutils/Makefile2
1 files changed, 2 insertions, 0 deletions
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