diff options
author | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2006-03-10 08:30:15 +0000 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2006-03-10 08:30:15 +0000 |
commit | 8ec9199f17c54e081a0bd120a0cdf8263c83d15d (patch) | |
tree | 5d63e8678c38f031ec358832515b02ad22d5fc5d /toolchain | |
parent | fbde74ea621e8dc7466daa8b2d17b3f4f7b59d1b (diff) |
- quote HOST_CC.
Allows for passing flags along HOST_CC which is sometimes needed on certain
architectures.
Diffstat (limited to 'toolchain')
-rw-r--r-- | toolchain/ccache/ccache.mk | 4 | ||||
-rw-r--r-- | toolchain/sstrip/sstrip.mk | 2 |
2 files changed, 3 insertions, 3 deletions
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) |