Default to arm64 + x86_64 universal binaries for wxOSX
Using i386 by default isn't useful any more -- but using arm64 is.
This commit is contained in:
parent
5ef4c1062a
commit
be4c71f74b
2 changed files with 5 additions and 9 deletions
6
configure
vendored
6
configure
vendored
|
|
@ -22839,10 +22839,8 @@ $as_echo "$as_me: WARNING: --enable-macosx_arch is ignored when --enable-univers
|
|||
|
||||
if test "x$wxUSE_UNIVERSAL_BINARY" != xyes; then
|
||||
OSX_ARCH_OPTS=$wxUSE_UNIVERSAL_BINARY
|
||||
else OSX_ARCH_OPTS="i386"
|
||||
if test "$wxUSE_OSX_COCOA" = 1; then
|
||||
OSX_ARCH_OPTS="$OSX_ARCH_OPTS,x86_64"
|
||||
fi
|
||||
else
|
||||
OSX_ARCH_OPTS=arm64,x86_64
|
||||
fi
|
||||
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for architectures to use in universal binary" >&5
|
||||
|
|
|
|||
|
|
@ -1160,11 +1160,9 @@ if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
|
|||
|
||||
if test "x$wxUSE_UNIVERSAL_BINARY" != xyes; then
|
||||
OSX_ARCH_OPTS=$wxUSE_UNIVERSAL_BINARY
|
||||
else dnl Use all architectures supported
|
||||
OSX_ARCH_OPTS="i386"
|
||||
if test "$wxUSE_OSX_COCOA" = 1; then
|
||||
OSX_ARCH_OPTS="$OSX_ARCH_OPTS,x86_64"
|
||||
fi
|
||||
else
|
||||
dnl Default architectures for the universal binaries.
|
||||
OSX_ARCH_OPTS=arm64,x86_64
|
||||
fi
|
||||
|
||||
AC_MSG_CHECKING([for architectures to use in universal binary])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue