[llvm-commits] CVS: llvm-test/SingleSource/Makefile.singlesrc

Evan Cheng evan.cheng at apple.com
Fri Feb 17 16:02:45 PST 2006



Changes in directory llvm-test/SingleSource:

Makefile.singlesrc updated: 1.28 -> 1.29
---
Log message:

Add -mdynamic-no-pic to native compiler (gcc) options for Darwin.


---
Diffs of the changes:  (+2 -2)

 Makefile.singlesrc |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)


Index: llvm-test/SingleSource/Makefile.singlesrc
diff -u llvm-test/SingleSource/Makefile.singlesrc:1.28 llvm-test/SingleSource/Makefile.singlesrc:1.29
--- llvm-test/SingleSource/Makefile.singlesrc:1.28	Sun May 15 14:46:42 2005
+++ llvm-test/SingleSource/Makefile.singlesrc	Fri Feb 17 18:02:32 2006
@@ -35,6 +35,6 @@
 
 # FIXME: LIBS should be specified, not hardcoded to -lm
 Output/%.native: $(SourceDir)/%.c Output/.dir
-	-$(CC) $(CFLAGS) -O2 $< -lm -o $@ $(LDFLAGS)
+	-$(CC) $(CFLAGS) -O2 $(TARGET_CFLAGS) $< -lm -o $@ $(LDFLAGS)
 Output/%.native: $(SourceDir)/%.cpp Output/.dir
-	-$(CXX) $(CXXFLAGS) -O2 $< -lm -o $@ $(LDFLAGS)
+	-$(CXX) $(CXXFLAGS) -O2 $(TARGET_CFLAGS) $< -lm -o $@ $(LDFLAGS)






More information about the llvm-commits mailing list