aboutsummaryrefslogtreecommitdiff
path: root/Makefile.common
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.common')
-rw-r--r--Makefile.common4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile.common b/Makefile.common
index 2b0a6968d0..d33d3da9b8 100644
--- a/Makefile.common
+++ b/Makefile.common
@@ -57,7 +57,11 @@
#
# Configuration file to set paths specific to local installation of LLVM
#
+ifndef LLVM_OBJ_ROOT
include $(LEVEL)/Makefile.config
+else
+include $(LLVM_OBJ_ROOT)/Makefile.config
+endif
#
# Include all of the build rules used for making LLVM