Commit 5e06f9f4 by Jim Stichnoth

Subzero: Use ccache for building, if available.

This is needed since we are now using an absolute (and non-standard) path to clang++. BUG= none R=jvoung@chromium.org Review URL: https://codereview.chromium.org/567393007
parent 1873560a
......@@ -51,7 +51,8 @@ LLVM_LDFLAGS := `$(LLVM_BIN_PATH)/llvm-config --libs` \
# It's recommended that CXX matches the compiler you used to build LLVM itself.
OPTLEVEL := -O0
CXX := $(CLANG_PATH)/clang++
CCACHE := `command -v ccache`
CXX := CCACHE_CPP2=yes $(CCACHE) $(CLANG_PATH)/clang++
CXXFLAGS := $(LLVM_CXXFLAGS) -Wall -Wextra -Werror -fno-rtti \
-fno-exceptions $(OPTLEVEL) -g $(HOST_FLAGS) \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment