Browse Source

configure binutils correctly

Waldemar Brodkorb 15 years ago
parent
commit
a57b22c8e3
1 changed files with 3 additions and 1 deletions
  1. 3 1
      package/binutils/Makefile

+ 3 - 1
package/binutils/Makefile

@@ -13,7 +13,9 @@ $(eval $(call PKG_template,BINUTILS,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${
 
 
 TCFLAGS+=		-fPIC
 TCFLAGS+=		-fPIC
 CONFIGURE_STYLE=	gnu
 CONFIGURE_STYLE=	gnu
-CONFIGURE_ARGS+=	--disable-werror
+CONFIGURE_ARGS+=	--disable-werror \
+			--host=$(REAL_GNU_TARGET_NAME) \
+			--target=$(REAL_GNU_TARGET_NAME)
 BUILD_STYLE=		auto
 BUILD_STYLE=		auto
 INSTALL_STYLE=		auto
 INSTALL_STYLE=		auto