aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--unittests/Makefile.unittest2
1 files changed, 2 insertions, 0 deletions
diff --git a/unittests/Makefile.unittest b/unittests/Makefile.unittest
index 8be6174cb9..580ad7d719 100644
--- a/unittests/Makefile.unittest
+++ b/unittests/Makefile.unittest
@@ -14,7 +14,9 @@
# Set up variables for building a unit test.
ifdef TESTNAME
+ifndef MAKEFILE_UNITTEST_NO_INCLUDE_COMMON
include $(LEVEL)/Makefile.common
+endif
LLVMUnitTestExe = $(BuildMode)/$(TESTNAME)Tests$(EXEEXT)