tktable: Enable aarch64 builds (#23980)
This commit is contained in:
parent
d729ee1e7d
commit
710d17ca57
@ -7,10 +7,10 @@ pkgbase=mingw-w64-${_realname}
|
||||
pkgname="${MINGW_PACKAGE_PREFIX}-${_realname}"
|
||||
_pkgnameactual=Tktable
|
||||
pkgver=2.10
|
||||
pkgrel=6
|
||||
pkgrel=7
|
||||
pkgdesc="A full-featured 2D table widget for Tk (mingw-w64)"
|
||||
arch=('any')
|
||||
mingw_arch=('mingw32' 'mingw64' 'ucrt64' 'clang64')
|
||||
mingw_arch=('mingw32' 'mingw64' 'ucrt64' 'clang64' 'clangarm64')
|
||||
url="https://tktable.sourceforge.io/"
|
||||
license=('custom')
|
||||
depends=("${MINGW_PACKAGE_PREFIX}-tk")
|
||||
@ -35,10 +35,13 @@ build() {
|
||||
mkdir -p "${srcdir}/build-${MSYSTEM}" && cd "${srcdir}/build-${MSYSTEM}"
|
||||
|
||||
[[ "${MINGW_CHOST}" = 'x86_64-w64-mingw32' ]] && enable64bit='--enable-64bit'
|
||||
[[ "${MINGW_CHOST}" = 'aarch64-w64-mingw32' ]] && enable64bit='--enable-64bit'
|
||||
|
||||
CFLAGS+=" -Wno-incompatible-function-pointer-types -Wno-incompatible-pointer-types" \
|
||||
../${_pkgnameactual}${pkgver}/configure \
|
||||
--prefix=${MINGW_PREFIX} \
|
||||
$enable64bit
|
||||
|
||||
make
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user