mirror of
https://github.com/RPCSX/llvm.git
synced 2024-11-29 06:30:39 +00:00
Update the amd64 target detection checks.
Patch contributed by Markus F.X.J. Oberhumer. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19118 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
72a59007d4
commit
ee93c874aa
@ -139,11 +139,11 @@ dnl This will allow Makefiles to make a distinction between the hardware and
|
||||
dnl the OS.
|
||||
AC_CACHE_CHECK([target architecture],[llvm_cv_target_arch],
|
||||
[case $target in
|
||||
i?86-*) llvm_cv_target_arch="x86" ;;
|
||||
amd64-*) llvm_cv_target_arch="amd64" ;;
|
||||
sparc*-*) llvm_cv_target_arch="Sparc" ;;
|
||||
powerpc*-*) llvm_cv_target_arch="PowerPC" ;;
|
||||
*) llvm_cv_target_arch="Unknown" ;;
|
||||
i?86-*) llvm_cv_target_arch="x86" ;;
|
||||
amd64-* | x86_64-*) llvm_cv_target_arch="AMD64" ;;
|
||||
sparc*-*) llvm_cv_target_arch="Sparc" ;;
|
||||
powerpc*-*) llvm_cv_target_arch="PowerPC" ;;
|
||||
*) llvm_cv_target_arch="Unknown" ;;
|
||||
esac])
|
||||
|
||||
if test "$llvm_cv_target_arch" = "Unknown" ; then
|
||||
@ -184,7 +184,7 @@ else
|
||||
x86) AC_SUBST(JIT,[[TARGET_HAS_JIT=1]]) ;;
|
||||
Sparc) AC_SUBST(JIT,[[TARGET_HAS_JIT=1]]) ;;
|
||||
PowerPC) AC_SUBST(JIT,[[TARGET_HAS_JIT=1]]) ;;
|
||||
amd64) AC_SUBST(JIT,[[]]) ;;
|
||||
AMD64) AC_SUBST(JIT,[[]]) ;;
|
||||
*) AC_SUBST(JIT,[[]]) ;;
|
||||
esac
|
||||
fi
|
||||
|
12
configure
vendored
12
configure
vendored
@ -1742,11 +1742,11 @@ if test "${llvm_cv_target_arch+set}" = set; then
|
||||
echo $ECHO_N "(cached) $ECHO_C" >&6
|
||||
else
|
||||
case $target in
|
||||
i?86-*) llvm_cv_target_arch="x86" ;;
|
||||
amd64-*) llvm_cv_target_arch="amd64" ;;
|
||||
sparc*-*) llvm_cv_target_arch="Sparc" ;;
|
||||
powerpc*-*) llvm_cv_target_arch="PowerPC" ;;
|
||||
*) llvm_cv_target_arch="Unknown" ;;
|
||||
i?86-*) llvm_cv_target_arch="x86" ;;
|
||||
amd64-* | x86_64-*) llvm_cv_target_arch="AMD64" ;;
|
||||
sparc*-*) llvm_cv_target_arch="Sparc" ;;
|
||||
powerpc*-*) llvm_cv_target_arch="PowerPC" ;;
|
||||
*) llvm_cv_target_arch="Unknown" ;;
|
||||
esac
|
||||
fi
|
||||
echo "$as_me:$LINENO: result: $llvm_cv_target_arch" >&5
|
||||
@ -2955,7 +2955,7 @@ else
|
||||
;;
|
||||
PowerPC) JIT=TARGET_HAS_JIT=1
|
||||
;;
|
||||
amd64) JIT=
|
||||
AMD64) JIT=
|
||||
;;
|
||||
*) JIT=
|
||||
;;
|
||||
|
Loading…
Reference in New Issue
Block a user