Skip to content

Commit

Permalink
libressl: try fixing ARM64 assert failure
Browse files Browse the repository at this point in the history
  • Loading branch information
vszakats committed Dec 31, 2023
1 parent 64cb1f9 commit d32c5df
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions libressl-cmake.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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}" \
Expand Down

0 comments on commit d32c5df

Please sign in to comment.