Changes in directory llvm/tools/llvm-config:

llvm-config.in.in updated: 1.24 -> 1.25
---
Log message:

Fix problem with llvm-config that prevented JIT from being used on x86_64
systems.


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

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


Index: llvm/tools/llvm-config/llvm-config.in.in
diff -u llvm/tools/llvm-config/llvm-config.in.in:1.24 
llvm/tools/llvm-config/llvm-config.in.in:1.25
--- llvm/tools/llvm-config/llvm-config.in.in:1.24       Fri Jan  5 20:48:03 2007
+++ llvm/tools/llvm-config/llvm-config.in.in    Tue Mar 27 23:45:02 2007
@@ -44,6 +44,10 @@
 my @TARGETS_BUILT       = map { lc($_) } [EMAIL PROTECTED]@};
 #---- end autoconf values ----
 
+# Must pretend x86_64 architecture is really x86, otherwise the native backend
+# won't get linked in.
+$ARCH = "x86" if $ARCH eq "x86_64";
+
 #---- begin Makefile values ----
 my $CFLAGS              = [EMAIL PROTECTED]@};
 my $CXXFLAGS            = [EMAIL PROTECTED]@};



_______________________________________________
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits

Reply via email to