[llvm-commits] CVS: llvm/test/Programs/SingleSource/Makefile.singlesrc
Chris Lattner
lattner at cs.uiuc.edu
Sun Aug 17 23:34:01 PDT 2003
Changes in directory llvm/test/Programs/SingleSource:
Makefile.singlesrc updated: 1.20 -> 1.21
---
Log message:
Compile native program with GCC -O2
---
Diffs of the changes:
Index: llvm/test/Programs/SingleSource/Makefile.singlesrc
diff -u llvm/test/Programs/SingleSource/Makefile.singlesrc:1.20 llvm/test/Programs/SingleSource/Makefile.singlesrc:1.21
--- llvm/test/Programs/SingleSource/Makefile.singlesrc:1.20 Mon Jun 16 10:50:51 2003
+++ llvm/test/Programs/SingleSource/Makefile.singlesrc Sun Aug 17 23:33:18 2003
@@ -33,6 +33,6 @@
# FIXME: LIBS should be specified, not hardcoded to -lm
Output/%.native: %.c Output/.dir
- $(CC) $(CFLAGS) $< -lm -o $@
+ $(CC) $(CFLAGS) -O2 $< -lm -o $@
Output/%.native: %.cpp Output/.dir
- $(CXX) $(CXXFLAGS) $< -lm -o $@
+ $(CXX) $(CXXFLAGS) -O2 $< -lm -o $@
More information about the llvm-commits
mailing list