aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--build-root/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/build-root/Makefile b/build-root/Makefile
index df4434d7629..b62a671d58f 100644
--- a/build-root/Makefile
+++ b/build-root/Makefile
@@ -317,7 +317,7 @@ endif
BUILD_ENV = \
export CCACHE_DIR=$(CCACHE_DIR) ; \
- export PATH=$(wildcard /usr/lib*/ccache):$(TOOL_INSTALL_DIR)/bin:$${PATH} ; \
+ export PATH=$$(echo $(wildcard /usr/lib*/ccache) | tr ' ' ':'):$(TOOL_INSTALL_DIR)/bin:$${PATH} ; \
$(if $(call configure_var_fn,PATH), export PATH=$${PATH}:$(call configure_var_fn,PATH);,) \
export PATH="`echo $${PATH} | sed -e s/[.]://`" ; \
$(if $(not_native),export CONFIG_SITE=$(MU_BUILD_ROOT_DIR)/config.site ;,) \