Skip to content

Commit

Permalink
3rdparty, OpenSSL: Don't default to i386 for unknown architectures
Browse files Browse the repository at this point in the history
  • Loading branch information
hillu committed Nov 19, 2024
1 parent dd23bc8 commit 911da58
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions 3rdparty.mk
Original file line number Diff line number Diff line change
Expand Up @@ -158,8 +158,11 @@ _3rdparty/build/$1/openssl-$(openssl_VERSION)/.build-stamp: \
private export MACHINE=$(or \
$(if $(and $(findstring freebsd,$1),$(findstring x86_64,$1)),\
$(patsubst x86_64-%,amd64-%,$1)),\
$(if $(findstring aarch64,$1),aarch64),\
$(if $(findstring x86_64,$1),x86_64,i386))
$(if $(or $(findstring aarch64,$1),$(findstring arm64,$1)),\
aarch64),\
$(if $(findstring x86_64,$1),x86_64),\
$(if $(findstring i386,$1),i386),\
$(error 3rdparty/openssl: Unknown MACHINE setting for $1))
_3rdparty/build/$1/openssl-$(openssl_VERSION)/.build-stamp: \
private export SYSTEM=$(or \
$(if $(findstring mingw,$1),$(if $(findstring x86_64,$1),MINGW64,MINGW32)),\
Expand Down

0 comments on commit 911da58

Please sign in to comment.