Explorar o código

configure binutils correctly

Waldemar Brodkorb %!s(int64=15) %!d(string=hai) anos
pai
achega
a57b22c8e3
Modificáronse 1 ficheiros con 3 adicións e 1 borrados
  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
 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