[llvm-commits] [test-suite] r96867 - /test-suite/trunk/Makefile.programs
Daniel Dunbar
daniel at zuster.org
Mon Feb 22 18:09:41 PST 2010
Author: ddunbar
Date: Mon Feb 22 20:09:41 2010
New Revision: 96867
URL: http://llvm.org/viewvc/llvm-project?rev=96867&view=rev
Log:
Rename LLVMGCCLD to PROGRAMLD to reflect its intent a bit better.
Modified:
test-suite/trunk/Makefile.programs
Modified: test-suite/trunk/Makefile.programs
URL: http://llvm.org/viewvc/llvm-project/test-suite/trunk/Makefile.programs?rev=96867&r1=96866&r2=96867&view=diff
==============================================================================
--- test-suite/trunk/Makefile.programs (original)
+++ test-suite/trunk/Makefile.programs Mon Feb 22 20:09:41 2010
@@ -357,13 +357,13 @@
endif
# It is important to link C++ programs with G++ so look for -lstdc++ in LDFLAGS
-# and set the LLVMGCCLD variable to the correct compiler interface to use.
+# and set the PROGRAMLD variable to the correct compiler interface to use.
# Note that LDFLAGS must already be defined at the time this file is included,
# or this will not work.
ifneq ($(filter -lstdc++,$(LDFLAGS)),)
-LLVMGCCLD := $(CXX)
+PROGRAMLD := $(CXX)
else
-LLVMGCCLD := $(CC)
+PROGRAMLD := $(CC)
endif
#
@@ -409,15 +409,15 @@
#
$(PROGRAMS_TO_TEST:%=Output/%.llc): \
Output/%.llc: Output/%.llc.s
- -$(LLVMGCCLD) $< -o $@ $(LLCLIBS) $(LLCASSEMBLERFLAGS) $(TARGET_FLAGS) $(LDFLAGS)
+ -$(PROGRAMLD) $< -o $@ $(LLCLIBS) $(LLCASSEMBLERFLAGS) $(TARGET_FLAGS) $(LDFLAGS)
$(PROGRAMS_TO_TEST:%=Output/%.llc-beta): \
Output/%.llc-beta: Output/%.llc-beta.s
- -$(LLVMGCCLD) $< -o $@ $(LLCLIBS) $(LLCASSEMBLERFLAGS) $(TARGET_FLAGS) $(LDFLAGS)
+ -$(PROGRAMLD) $< -o $@ $(LLCLIBS) $(LLCASSEMBLERFLAGS) $(TARGET_FLAGS) $(LDFLAGS)
$(PROGRAMS_TO_TEST:%=Output/%.opt-beta): \
Output/%.opt-beta: Output/%.opt-beta.s
- -$(LLVMGCCLD) $< -o $@ $(LLCLIBS) $(LLCASSEMBLERFLAGS) $(TARGET_FLAGS) $(LDFLAGS)
+ -$(PROGRAMLD) $< -o $@ $(LLCLIBS) $(LLCASSEMBLERFLAGS) $(TARGET_FLAGS) $(LDFLAGS)
#
More information about the llvm-commits
mailing list