summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
authorMisha Brukman <brukman+llvm@gmail.com>2009-04-01 00:35:00 +0000
committerMisha Brukman <brukman+llvm@gmail.com>2009-04-01 00:35:00 +0000
commit7f1f0b03e2c317121ab659fb7eb833f733f61fdf (patch)
tree49faaa1b4d3a18fb9eeb841aec3c4822323998c2 /llvm
parentdce2b62b70063f041bbfa179bb1e26e1fbc9a2dc (diff)
downloadbcm5719-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.unittest5
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
OpenPOWER on IntegriCloud