Procházet zdrojové kódy

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 <[email protected]>

SVN-Revision: 43866
Felix Fietkau před 11 roky
rodič
revize
c228aeef61
1 změnil soubory, kde provedl 2 přidání a 0 odebrání
  1. 2 0
      package/devel/binutils/Makefile

+ 2 - 0
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