Skip to content

Commit

Permalink
Better way to recognise mingw64 in config script
Browse files Browse the repository at this point in the history
Reviewed-by: Andy Polyakov <[email protected]>
(Merged from openssl#2922)
  • Loading branch information
levitte committed Mar 13, 2017
1 parent c2b9359 commit 41bee3e
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions config
Original file line number Diff line number Diff line change
Expand Up @@ -320,6 +320,15 @@ case "${SYSTEM}:${RELEASE}:${VERSION}:${MACHINE}" in
echo "${MACHINE}-v11-${SYSTEM}"; exit 0;
;;

# The following combinations are supported
# MINGW64* on x86_64 => mingw64
# MINGW32* on x86_64 => mingw
# MINGW32* on i?86 => mingw
#
# MINGW64* on i?86 isn't expected to work...
MINGW64*:*:*:x86_64)
echo "${MACHINE}-whatever-mingw64"; exit 0;
;;
MINGW*)
echo "${MACHINE}-whatever-mingw"; exit 0;
;;
Expand Down Expand Up @@ -801,8 +810,6 @@ case "$GUESSOS" in
options="$options no-asm"
fi
;;
i[3456]86-*-mingw) OUT="mingw" ;;
x86_64-*-mingw) OUT="mingw64" ;;
# these are all covered by the catchall below
i[3456]86-*-cygwin) OUT="Cygwin-x86" ;;
*-*-cygwin) OUT="Cygwin-${MACHINE}" ;;
Expand Down

0 comments on commit 41bee3e

Please sign in to comment.