Explorar el Código

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 hace 11 años
padre
commit
c228aeef61
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  1. 2 0
      package/devel/binutils/Makefile

+ 2 - 0
package/devel/binutils/Makefile

@@ -69,6 +69,8 @@ endef
 TARGET_CFLAGS += $(FPIC) -Wno-unused-value
 TARGET_CFLAGS += $(FPIC) -Wno-unused-value
 
 
 CONFIGURE_ARGS += \
 CONFIGURE_ARGS += \
+	--host=$(REAL_GNU_TARGET_NAME) \
+	--target=$(REAL_GNU_TARGET_NAME) \
 	--enable-shared \
 	--enable-shared \
 	--enable-install-libiberty \
 	--enable-install-libiberty \
 	--enable-install-libbfd
 	--enable-install-libbfd