diff options
author | Misha Brukman <brukman+llvm@gmail.com> | 2009-04-01 00:35:00 +0000 |
---|---|---|
committer | Misha Brukman <brukman+llvm@gmail.com> | 2009-04-01 00:35:00 +0000 |
commit | b0426e86af15d2ff419d2dc9bfefa573f3dfe29c (patch) | |
tree | 540c45087297ca81f29ef4dbbbc9a18b06fc8f13 /unittests/Makefile.unittest | |
parent | d485e885f04eaaafc9c0ce2555c6bd853b7c18a3 (diff) |
include Makefile.common before using $(BuildMode) to get its definition
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@68167 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'unittests/Makefile.unittest')
-rw-r--r-- | unittests/Makefile.unittest | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/unittests/Makefile.unittest b/unittests/Makefile.unittest index 5832d6ac1f..1c75e44d07 100644 --- a/unittests/Makefile.unittest +++ b/unittests/Makefile.unittest @@ -14,11 +14,10 @@ # Set up variables for building a unit test. ifdef TESTNAME -LLVMUnitTestDir := $(LLVM_OBJ_ROOT)/$(BuildMode)/unittests -LLVMUnitTestExe := $(LLVMUnitTestDir)/$(TESTNAME)Tests$(EXEEXT) - include $(LEVEL)/Makefile.common +LLVMUnitTestExe = $(BuildMode)/$(TESTNAME)Tests$(EXEEXT) + CPP.Flags += -I$(LLVM_SRC_ROOT)/utils/unittest/googletest/include/ CPP.Flags += -Wno-variadic-macros LIBS += -lGoogleTest -lUnitTestMain |