summaryrefslogtreecommitdiff
path: root/package/binutils
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2010-01-26 19:50:18 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2010-01-26 19:50:18 +0100
commita57b22c8e3087efb7eb0f93afba35066d49ccf55 (patch)
tree8a5cf038049b1b72de7ad8ef7042e13f8c7f86ff /package/binutils
parenta493430ea128490a1e4dd1a20bea7d11dcfd0771 (diff)
configure binutils correctly
Diffstat (limited to 'package/binutils')
-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