Explorar o código

- Pass the correct compiler when building the target binutils.

Bernhard Reutner-Fischer %!s(int64=18) %!d(string=hai) anos
pai
achega
7fb0f70a5a
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      toolchain/binutils/binutils.mk

+ 1 - 0
toolchain/binutils/binutils.mk

@@ -101,6 +101,7 @@ BINUTILS_DIR2:=$(BUILD_DIR)/binutils-$(BINUTILS_VERSION)-target
 $(BINUTILS_DIR2)/.configured: $(BINUTILS_DIR)/.patched
 	mkdir -p $(BINUTILS_DIR2)
 	(cd $(BINUTILS_DIR2); \
+		CC_FOR_BUILD="$(HOSTCC)" \
 		PATH=$(TARGET_PATH) \
 		CFLAGS="$(TARGET_CFLAGS)" \
 		CFLAGS_FOR_BUILD="-O2 -g" \