1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-18 18:42:46 +02:00

include Makefile.common before using $(BuildMode) to get its definition

llvm-svn: 68167
This commit is contained in:
Misha Brukman 2009-04-01 00:35:00 +00:00
parent ea884c9e5e
commit a47cb48efd

View File

@ -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