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 | 7f1f0b03e2c317121ab659fb7eb833f733f61fdf (patch) | |
tree | 49faaa1b4d3a18fb9eeb841aec3c4822323998c2 /llvm | |
parent | dce2b62b70063f041bbfa179bb1e26e1fbc9a2dc (diff) | |
download | bcm5719-llvm-7f1f0b03e2c317121ab659fb7eb833f733f61fdf.tar.gz bcm5719-llvm-7f1f0b03e2c317121ab659fb7eb833f733f61fdf.zip |
include Makefile.common before using $(BuildMode) to get its definition
llvm-svn: 68167
Diffstat (limited to 'llvm')
-rw-r--r-- | llvm/unittests/Makefile.unittest | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/llvm/unittests/Makefile.unittest b/llvm/unittests/Makefile.unittest index 5832d6ac1fd..1c75e44d077 100644 --- a/llvm/unittests/Makefile.unittest +++ b/llvm/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 |