aboutsummaryrefslogtreecommitdiffstats
path: root/unittests/Makefile.unittest
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 /unittests/Makefile.unittest
parentcf12067ae08dc7911c860070eaf2830dc1dc4ff7 (diff)
downloadexternal_llvm-5e342ecc192009b2a3da924c27327075a281f16f.zip
external_llvm-5e342ecc192009b2a3da924c27327075a281f16f.tar.gz
external_llvm-5e342ecc192009b2a3da924c27327075a281f16f.tar.bz2
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
Diffstat (limited to 'unittests/Makefile.unittest')
-rw-r--r--unittests/Makefile.unittest2
1 files changed, 2 insertions, 0 deletions
diff --git a/unittests/Makefile.unittest b/unittests/Makefile.unittest
index 8be6174..580ad7d 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)