diff --git a/mingw-w64-libfixmath/001-no-sanitizers-with-gcc.patch b/mingw-w64-libfixmath/001-no-sanitizers-with-gcc.patch index a4bad5d84e..dce9accd51 100644 --- a/mingw-w64-libfixmath/001-no-sanitizers-with-gcc.patch +++ b/mingw-w64-libfixmath/001-no-sanitizers-with-gcc.patch @@ -5,7 +5,7 @@ # -fno-sanitize-recover -if(APPLE AND CMAKE_OSX_ARCHITECTURES MATCHES "ppc|ppc64") -+if((MINGW AND CMAKE_CXX_COMPILER_ID STREQUAL "GNU") OR (APPLE AND CMAKE_OSX_ARCHITECTURES MATCHES "ppc|ppc64")) ++if((MINGW AND (CMAKE_CXX_COMPILER_ID STREQUAL "GNU" OR CMAKE_SYSTEM_PROCESSOR MATCHES "^(aarch64.*|AARCH64.*|arm64.*|ARM64.*)")) OR (APPLE AND CMAKE_OSX_ARCHITECTURES MATCHES "ppc|ppc64")) # Darwin PPC does not support ubsan presently. set(sanitizer_opts "") else() diff --git a/mingw-w64-libfixmath/PKGBUILD b/mingw-w64-libfixmath/PKGBUILD index f784b5ab6a..5b0caa2a6d 100644 --- a/mingw-w64-libfixmath/PKGBUILD +++ b/mingw-w64-libfixmath/PKGBUILD @@ -4,7 +4,7 @@ _realname=libfixmath pkgbase=mingw-w64-${_realname} pkgname=("${MINGW_PACKAGE_PREFIX}-${_realname}") pkgver=r154.d308e46 -pkgrel=1 +pkgrel=2 pkgdesc="Cross Platform Fixed Point Maths Library (mingw-w64)" arch=('any') mingw_arch=('ucrt64' 'clang64' 'clangarm64') @@ -18,7 +18,7 @@ _commit='d308e466e1a09118d03f677c52e5fbf402f6fdd0' source=("${_realname}"::"git+https://github.com/PetteriAimonen/libfixmath.git#commit=${_commit}" "001-no-sanitizers-with-gcc.patch") sha256sums=('SKIP' - 'c8279450506bc261ecd6d7fb9983afa87218122446d2f5b3131fec88d6b61035') + '35fee365ec8b4593046869f84ace00699d7f40854156e25acc321b17b4dbc82a') pkgver() { cd "${srcdir}/${_realname}"