From d32c5df75a12b81cedf97eaf329077fb982a0ba2 Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Sun, 31 Dec 2023 19:50:06 +0000 Subject: [PATCH] libressl: try fixing ARM64 assert failure --- libressl-cmake.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/libressl-cmake.sh b/libressl-cmake.sh index 8d2df2080..bfd1e9fbe 100755 --- a/libressl-cmake.sh +++ b/libressl-cmake.sh @@ -74,6 +74,10 @@ _VER="$1" cpu="${_TRIPLET}" fi + if [ "${_CPU}" = 'a64' ]; then + CPPFLAGS+=' -D_LP64' + fi + # shellcheck disable=SC2086 cmake -B "${_BLDDIR}" ${_CMAKE_GLOBAL} ${options} \ "-DCMAKE_SYSTEM_PROCESSOR=${cpu}" \