From: Daniel Dunbar Date: Fri, 4 Feb 2011 17:12:18 +0000 (+0000) Subject: build: Add MAKEFILE_UNITTEST_NO_INCLUDE_COMMON build variable, to be leveraged X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=5e342ecc192009b2a3da924c27327075a281f16f;p=oota-llvm.git 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 --- 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)