diff options
author | Jeff Cohen <jeffc@jolt-lang.org> | 2007-03-28 04:45:02 +0000 |
---|---|---|
committer | Jeff Cohen <jeffc@jolt-lang.org> | 2007-03-28 04:45:02 +0000 |
commit | 02c91ef2cbdfd6b3c487a8f1c4de05562e1ea73e (patch) | |
tree | d93f2266e5a6a3f86c16eb6ecd55dafd7e6c0af7 | |
parent | 9430832d0e790f3ec0f46f02ed1b359c18a88c2f (diff) | |
download | llvm-02c91ef2cbdfd6b3c487a8f1c4de05562e1ea73e.tar.gz llvm-02c91ef2cbdfd6b3c487a8f1c4de05562e1ea73e.tar.bz2 llvm-02c91ef2cbdfd6b3c487a8f1c4de05562e1ea73e.tar.xz |
Fix problem with llvm-config that prevented JIT from being used on x86_64
systems.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35416 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | tools/llvm-config/llvm-config.in.in | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/llvm-config/llvm-config.in.in b/tools/llvm-config/llvm-config.in.in index 2f5af8a858..a6cf5f8273 100644 --- a/tools/llvm-config/llvm-config.in.in +++ b/tools/llvm-config/llvm-config.in.in @@ -44,6 +44,10 @@ my $TARGET_HAS_JIT = q{@TARGET_HAS_JIT@}; my @TARGETS_BUILT = map { lc($_) } qw{@TARGETS_TO_BUILD@}; #---- 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 = q{@LLVM_CFLAGS@}; my $CXXFLAGS = q{@LLVM_CXXFLAGS@}; |