summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2011-02-04 17:12:18 +0000
committerDaniel Dunbar <daniel@zuster.org>2011-02-04 17:12:18 +0000
commit5e342ecc192009b2a3da924c27327075a281f16f (patch)
tree172528783a41a5586469b491ab63a9d4e2f49f75
parentcf12067ae08dc7911c860070eaf2830dc1dc4ff7 (diff)
build: Add MAKEFILE_UNITTEST_NO_INCLUDE_COMMON build variable, to be leveraged
by Clang. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@124871 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--unittests/Makefile.unittest2
1 files changed, 2 insertions, 0 deletions
diff --git a/unittests/Makefile.unittest b/unittests/Makefile.unittest
index 8be6174cb90..580ad7d7191 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)