[prev in list] [next in list] [prev in thread] [next in thread]
List: wine-devel
Subject: [PATCH] configure: Use *-windows instead of *-windows-gnu as fallback cross compiler target.
From: Jacek Caban <jacek () codeweavers ! com>
Date: 2020-07-31 14:45:28
Message-ID: 61389ba3-027e-1aa8-ef13-fae7d6e175cb () codeweavers ! com
[Download RAW message or body]
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
---
This code path is used mostly when cross target can't be found, which
means that mingw is most likely not available. *windows-gnu targets,
however, require cross compiled libgcc (or compiler-rt), which is
roughly a part of mingw distro, so they will most likely not work
anyway. When using *-windows target (meaning msvc compatibility mode),
Wine is self sufficient and doesn't need any external cross compiled
bits. If someone has an unusual setup and wants the old behaviour, it's
probably good idea to explicitly specify CROSSTARGET anyway.
configure.ac | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
["0001-configure-Use-windows-instead-of-windows-gnu-as-fallba.txt" (text/x-patch)]
diff --git a/configure.ac b/configure.ac
index 92d5ed5e606..c0a44f37122 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1060,8 +1060,8 @@ then
if test -z "$llvm_target"
then
case $host_cpu in
- *i[[3456789]]86*) llvm_target=i686-windows-gnu ;;
- *) llvm_target=$host_cpu-windows-gnu ;;
+ *i[[3456789]]86*) llvm_target=i686-windows ;;
+ *) llvm_target=$host_cpu-windows ;;
esac
fi
case $llvm_target in
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic