From 8ec9199f17c54e081a0bd120a0cdf8263c83d15d Mon Sep 17 00:00:00 2001 From: Bernhard Reutner-Fischer Date: Fri, 10 Mar 2006 08:30:15 +0000 Subject: - quote HOST_CC. Allows for passing flags along HOST_CC which is sometimes needed on certain architectures. --- toolchain/ccache/ccache.mk | 4 ++-- toolchain/sstrip/sstrip.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'toolchain') diff --git a/toolchain/ccache/ccache.mk b/toolchain/ccache/ccache.mk index 5a49b029b..9329b2150 100644 --- a/toolchain/ccache/ccache.mk +++ b/toolchain/ccache/ccache.mk @@ -33,7 +33,7 @@ $(CCACHE_DIR1)/.patched: $(CCACHE_DIR1)/.unpacked $(CCACHE_DIR1)/.configured: $(CCACHE_DIR1)/.patched mkdir -p $(CCACHE_DIR1) (cd $(CCACHE_DIR1); rm -rf config.cache; \ - CC=$(HOSTCC) \ + CC="$(HOSTCC)" \ $(CCACHE_DIR1)/configure \ --target=$(GNU_HOST_NAME) \ --host=$(GNU_HOST_NAME) \ @@ -43,7 +43,7 @@ $(CCACHE_DIR1)/.configured: $(CCACHE_DIR1)/.patched touch $(CCACHE_DIR1)/.configured $(CCACHE_DIR1)/$(CCACHE_BINARY): $(CCACHE_DIR1)/.configured - $(MAKE) CC=$(HOSTCC) -C $(CCACHE_DIR1) + $(MAKE) CC="$(HOSTCC)" -C $(CCACHE_DIR1) $(STAGING_DIR)/$(CCACHE_TARGET_BINARY): $(CCACHE_DIR1)/$(CCACHE_BINARY) mkdir -p $(STAGING_DIR)/usr/bin; diff --git a/toolchain/sstrip/sstrip.mk b/toolchain/sstrip/sstrip.mk index d18853118..e538bdb9a 100644 --- a/toolchain/sstrip/sstrip.mk +++ b/toolchain/sstrip/sstrip.mk @@ -19,7 +19,7 @@ $(SSTRIP_HOST): $(SSTRIP_SOURCE_FILE) $(STAGING_DIR)/$(REAL_GNU_TARGET_NAME)/bin/sstrip ln -snf $(REAL_GNU_TARGET_NAME)-sstrip \ $(STAGING_DIR)/bin/$(GNU_TARGET_NAME)-sstrip - $(HOSTCC) $(SSTRIP_SOURCE_FILE) -o $(SSTRIP_HOST) + "$(HOSTCC)" $(SSTRIP_SOURCE_FILE) -o $(SSTRIP_HOST) sstrip_host: $(SSTRIP_HOST) -- cgit v1.2.3