summaryrefslogtreecommitdiffstats
path: root/include/clang/Basic/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'include/clang/Basic/Makefile')
-rw-r--r--include/clang/Basic/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/clang/Basic/Makefile b/include/clang/Basic/Makefile
index 7db3e2982a..bc64f6aab5 100644
--- a/include/clang/Basic/Makefile
+++ b/include/clang/Basic/Makefile
@@ -16,6 +16,7 @@ INPUT_TDS = $(wildcard $(PROJ_SRC_DIR)/Diagnostic*.td)
# Compute the Clang version from the LLVM version, unless specified explicitly.
ifndef CLANG_VERSION
CLANG_VERSION := $(subst svn,,$(LLVMVersion))
+CLANG_VERSION := $(subst rc,,$(CLANG_VERSION))
endif
CLANG_VERSION_COMPONENTS := $(subst ., ,$(CLANG_VERSION))