[llvm-commits] [test-suite] r39820 - in /test-suite/trunk: Makefile.programs SingleSource/Benchmarks/Shootout-C++/Makefile

Evan Cheng evan.cheng at apple.com
Fri Jul 13 12:13:15 PDT 2007


Author: evancheng
Date: Fri Jul 13 14:13:15 2007
New Revision: 39820

URL: http://llvm.org/viewvc/llvm-project?rev=39820&view=rev
Log:
Force Shootout-C++ llc executables to be linked with g++.

Modified:
    test-suite/trunk/Makefile.programs
    test-suite/trunk/SingleSource/Benchmarks/Shootout-C++/Makefile

Modified: test-suite/trunk/Makefile.programs
URL: http://llvm.org/viewvc/llvm-project/test-suite/trunk/Makefile.programs?rev=39820&r1=39819&r2=39820&view=diff

==============================================================================
--- test-suite/trunk/Makefile.programs (original)
+++ test-suite/trunk/Makefile.programs Fri Jul 13 14:13:15 2007
@@ -109,7 +109,9 @@
 # the LINK_WITH_LLVMGCC_LIBS variable is set, then the link is done that
 # way. Unfortunately, this can't help JIT because it is always linked with
 # the libraries of lli.
+ifndef LLVMGCCLD
 LLVMGCCLD := $(CC)
+endif
 ifdef LINK_WITH_LLVMGCC_LIBS
 #LLVMGCCLD := $(CC) -L$(LLVMGCCDIR)/lib/gcc/$(LLVMGCCARCH) -L$(LLVMGCCDIR)/lib/debug -L$(LLVMGCCDIR)/lib
 LLVMGCCLD := $(CC) -L$(LLVMGCCDIR)/lib/gcc/$(LLVMGCCARCH) -L$(LLVMGCCDIR)/lib

Modified: test-suite/trunk/SingleSource/Benchmarks/Shootout-C++/Makefile
URL: http://llvm.org/viewvc/llvm-project/test-suite/trunk/SingleSource/Benchmarks/Shootout-C%2B%2B/Makefile?rev=39820&r1=39819&r2=39820&view=diff

==============================================================================
--- test-suite/trunk/SingleSource/Benchmarks/Shootout-C++/Makefile (original)
+++ test-suite/trunk/SingleSource/Benchmarks/Shootout-C++/Makefile Fri Jul 13 14:13:15 2007
@@ -1,8 +1,7 @@
 LEVEL = ../../..
 CXXFLAGS += -Wno-deprecated
 CPPFLAGS += -Wno-deprecated
-LDFLAGS += -lm -lstdc++
-LIBS += -lstdc++
+LLVMGCCLD := $(CXX)
 REQUIRES_EH_SUPPORT=1
 FP_TOLERANCE = 0.00000001
 





More information about the llvm-commits mailing list