[llvm-commits] [llvm] r83252 - /llvm/trunk/unittests/Makefile.unittest
Benjamin Kramer
benny.kra at googlemail.com
Fri Oct 2 12:52:33 PDT 2009
Author: d0k
Date: Fri Oct 2 14:52:33 2009
New Revision: 83252
URL: http://llvm.org/viewvc/llvm-project?rev=83252&view=rev
Log:
Try to fix unit test linking on linux ...
Modified:
llvm/trunk/unittests/Makefile.unittest
Modified: llvm/trunk/unittests/Makefile.unittest
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/unittests/Makefile.unittest?rev=83252&r1=83251&r2=83252&view=diff
==============================================================================
--- llvm/trunk/unittests/Makefile.unittest (original)
+++ llvm/trunk/unittests/Makefile.unittest Fri Oct 2 14:52:33 2009
@@ -20,12 +20,12 @@
CPP.Flags += -I$(LLVM_SRC_ROOT)/utils/unittest/googletest/include/
CPP.Flags += -Wno-variadic-macros
-LIBS += -lGoogleTest -lUnitTestMain
+TESTLIBS = -lGoogleTest -lUnitTestMain
$(LLVMUnitTestExe): $(ObjectsO) $(ProjLibsPaths) $(LLVMLibsPaths)
$(Echo) Linking $(BuildMode) unit test $(TESTNAME) $(StripWarnMsg)
$(Verb) $(Link) -o $@ $(TOOLLINKOPTS) $(ObjectsO) $(ProjLibsOptions) \
- $(LLVMLibsOptions) $(ExtraLibs) $(TOOLLINKOPTSB) $(LIBS)
+ $(TESTLIBS) $(LLVMLibsOptions) $(ExtraLibs) $(TOOLLINKOPTSB) $(LIBS)
$(Echo) ======= Finished Linking $(BuildMode) Unit test $(TESTNAME) \
$(StripWarnMsg)
More information about the llvm-commits
mailing list