summaryrefslogtreecommitdiff
path: root/package/devel/binutils
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/devel/binutils
parent7f6af5ddc9512dbb9031d82533288884b6438834 (diff)
downloadmtk-20170518-c228aeef612a34f3de9cb06a817481c4e5aa5c9d.zip
mtk-20170518-c228aeef612a34f3de9cb06a817481c4e5aa5c9d.tar.gz
mtk-20170518-c228aeef612a34f3de9cb06a817481c4e5aa5c9d.tar.bz2
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/devel/binutils')
-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 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