[llvm-commits] CVS: llvm/tools/llvm-config/Makefile llvm-config.in.in

Chris Lattner lattner at cs.uiuc.edu
Fri Jun 2 12:13:41 PDT 2006



Changes in directory llvm/tools/llvm-config:

Makefile updated: 1.8 -> 1.9
llvm-config.in.in updated: 1.11 -> 1.12
---
Log message:

Capture the build mode (e.g. Debug/Release) in the llvm-config script.


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

 Makefile          |    1 +
 llvm-config.in.in |    1 +
 2 files changed, 2 insertions(+)


Index: llvm/tools/llvm-config/Makefile
diff -u llvm/tools/llvm-config/Makefile:1.8 llvm/tools/llvm-config/Makefile:1.9
--- llvm/tools/llvm-config/Makefile:1.8	Thu Jun  1 19:30:31 2006
+++ llvm/tools/llvm-config/Makefile	Fri Jun  2 14:13:29 2006
@@ -53,6 +53,7 @@
 	$(Echo) "Building llvm-config script."
 	$(Verb) $(ECHO) 's, at LLVM_CXXFLAGS@,$(SUB_CXXFLAGS),' > temp.sed
 	$(Verb) $(ECHO) 's, at LLVM_LDFLAGS@,$(SUB_LDFLAGS),' >> temp.sed
+	$(Verb) $(ECHO) 's, at LLVM_BUILDMODE@,$(BuildMode),' >> temp.sed
 	$(Verb) $(SED) -f temp.sed < $< > $@
 	$(Verb) $(RM) temp.sed
 	$(Verb) cat $(FinalLibDeps) >> $@


Index: llvm/tools/llvm-config/llvm-config.in.in
diff -u llvm/tools/llvm-config/llvm-config.in.in:1.11 llvm/tools/llvm-config/llvm-config.in.in:1.12
--- llvm/tools/llvm-config/llvm-config.in.in:1.11	Fri Jun  2 13:58:21 2006
+++ llvm/tools/llvm-config/llvm-config.in.in	Fri Jun  2 14:13:29 2006
@@ -47,6 +47,7 @@
 #---- begin Makefile values ----
 my $CXXFLAGS            = q{@LLVM_CXXFLAGS@};
 my $LDFLAGS             = q{@LLVM_LDFLAGS@};
+my $LLVM_BUILDMODE      = q{@LLVM_BUILDMODE@};
 #---- end Makefile values ----
 
 # Convert the current executable name into its directory (e.g. ".").






More information about the llvm-commits mailing list