summaryrefslogtreecommitdiff
path: root/package/binutils/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'package/binutils/Makefile')
-rw-r--r--package/binutils/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/package/binutils/Makefile b/package/binutils/Makefile
index c130804de..c622a1af7 100644
--- a/package/binutils/Makefile
+++ b/package/binutils/Makefile
@@ -13,7 +13,9 @@ $(eval $(call PKG_template,BINUTILS,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${
TCFLAGS+= -fPIC
CONFIGURE_STYLE= gnu
-CONFIGURE_ARGS+= --disable-werror
+CONFIGURE_ARGS+= --disable-werror \
+ --host=$(REAL_GNU_TARGET_NAME) \
+ --target=$(REAL_GNU_TARGET_NAME)
BUILD_STYLE= auto
INSTALL_STYLE= auto