summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManuel Novoa III <mjn3@codepoet.org>2003-11-23 18:47:56 +0000
committerManuel Novoa III <mjn3@codepoet.org>2003-11-23 18:47:56 +0000
commiteb6d6eb1b6778b71287399763740c77ec445fd2a (patch)
tree6dcf03102cb8d7253cd883da231995099b0c6d0b
parentda94c87d532e9cf23445dad7b78072080a524cd1 (diff)
Make sure we use the right CC setting when building utils.
Not doing so was breaking the buildroot softfloat arm build.
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 10e4db854..ca58f2461 100644
--- a/Makefile
+++ b/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;