mirror of
https://gitlab.winehq.org/wine/wine.git
synced 2024-11-19 17:06:04 -07:00
configure: Try using pure clang as a cross compiler when mingw is not available.
Signed-off-by: Jacek Caban <jacek@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
2027c8ee1f
commit
b070eb78cc
2 changed files with 8 additions and 8 deletions
8
aclocal.m4
vendored
8
aclocal.m4
vendored
|
@ -218,18 +218,18 @@ dnl
|
|||
AC_DEFUN([WINE_CHECK_MINGW_PROG],
|
||||
[case "$host_cpu" in
|
||||
aarch64*)
|
||||
ac_prefix_list="aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc" ;;
|
||||
ac_prefix_list="aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc clang" ;;
|
||||
arm*)
|
||||
ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
|
||||
ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc clang" ;;
|
||||
i[[3456789]]86*)
|
||||
ac_prefix_list="m4_foreach([ac_wine_prefix],[w64-mingw32, pc-mingw32, mingw32msvc, mingw32],
|
||||
m4_foreach([ac_wine_cpu],[i686,i586,i486,i386],[ac_wine_cpu-ac_wine_prefix-gcc ]))
|
||||
m4_foreach([ac_wine_cpu],[i686,i586,i486,i386],[ac_wine_cpu-w64-mingw32-clang ])
|
||||
mingw32-gcc" ;;
|
||||
mingw32-gcc clang" ;;
|
||||
x86_64)
|
||||
ac_prefix_list="m4_foreach([ac_wine_prefix],[pc-mingw32, w64-mingw32, mingw32msvc],
|
||||
m4_foreach([ac_wine_cpu],[x86_64,amd64],[ac_wine_cpu-ac_wine_prefix-gcc ]))
|
||||
m4_foreach([ac_wine_cpu],[x86_64,amd64],[ac_wine_cpu-w64-mingw32-clang ])" ;;
|
||||
m4_foreach([ac_wine_cpu],[x86_64,amd64],[ac_wine_cpu-w64-mingw32-clang ]) clang" ;;
|
||||
*)
|
||||
ac_prefix_list="" ;;
|
||||
esac
|
||||
|
|
8
configure
vendored
8
configure
vendored
|
@ -9660,16 +9660,16 @@ then
|
|||
case "x$with_mingw" in
|
||||
x|xyes) case "$host_cpu" in
|
||||
aarch64*)
|
||||
ac_prefix_list="aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc" ;;
|
||||
ac_prefix_list="aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc clang" ;;
|
||||
arm*)
|
||||
ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
|
||||
ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc clang" ;;
|
||||
i[3456789]86*)
|
||||
ac_prefix_list="i686-w64-mingw32-gcc i586-w64-mingw32-gcc i486-w64-mingw32-gcc i386-w64-mingw32-gcc i686-pc-mingw32-gcc i586-pc-mingw32-gcc i486-pc-mingw32-gcc i386-pc-mingw32-gcc i686-mingw32msvc-gcc i586-mingw32msvc-gcc i486-mingw32msvc-gcc i386-mingw32msvc-gcc i686-mingw32-gcc i586-mingw32-gcc i486-mingw32-gcc i386-mingw32-gcc
|
||||
i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
|
||||
mingw32-gcc" ;;
|
||||
mingw32-gcc clang" ;;
|
||||
x86_64)
|
||||
ac_prefix_list="x86_64-pc-mingw32-gcc amd64-pc-mingw32-gcc x86_64-w64-mingw32-gcc amd64-w64-mingw32-gcc x86_64-mingw32msvc-gcc amd64-mingw32msvc-gcc
|
||||
x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
|
||||
x86_64-w64-mingw32-clang amd64-w64-mingw32-clang clang" ;;
|
||||
*)
|
||||
ac_prefix_list="" ;;
|
||||
esac
|
||||
|
|
Loading…
Reference in a new issue