瀏覽代碼

Make sure we use the right CC setting when building utils.
Not doing so was breaking the buildroot softfloat arm build.

Manuel Novoa III 22 年之前
父節點
當前提交
eb6d6eb1b6
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      Makefile

+ 2 - 2
Makefile

@@ -285,13 +285,13 @@ endif
 .PHONY: utils
 ifeq ($(strip $(HAVE_SHARED)),y)
 utils:
-	$(MAKE) CROSS=$(CROSS) -C utils
+	$(MAKE) CROSS=$(CROSS) CC=$(CC) -C utils
 else
 utils: dummy
 endif
 
 install_utils: utils
-	$(MAKE) CROSS=$(CROSS) -C utils install
+	$(MAKE) CROSS=$(CROSS) CC=$(CC) -C utils install
 #ifeq ($(strip $(UCLIBC_HAS_LOCALE)),y)
 #	@$(MAKE) -C libc/misc/wchar iconv.target
 #	$(INSTALL) -d $(PREFIX)$(RUNTIME_PREFIX)/usr/bin;