summaryrefslogtreecommitdiff
path: root/Makefile.config.in
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.config.in')
-rw-r--r--Makefile.config.in7
1 files changed, 7 insertions, 0 deletions
diff --git a/Makefile.config.in b/Makefile.config.in
index fcb1746e75..c0af6382fa 100644
--- a/Makefile.config.in
+++ b/Makefile.config.in
@@ -233,3 +233,10 @@ ifndef LLVM_SRC_ROOT
LLVM_SRC_ROOT := $(BUILD_SRC_ROOT)
endif
+#
+# Set SourceDir for backwards compatbility.
+#
+ifndef SourceDir
+SourceDir=$(BUILD_SRC_DIR)
+endif
+