Disable assembly on aarch64 as a stopgap measure
See also: https://github.com/smuellerDD/leancrypto/issues/27 Related: RHEL-89715
This commit is contained in:
parent
a4b2d06505
commit
8d31a65d90
@ -380,6 +380,12 @@ export HOGWEED_LIBS="$NETTLE_DIR/libhogweed.a $NETTLE_LIBS $GMP_LIBS"
|
||||
%if %{with leancrypto}
|
||||
pushd bundled_leancrypto
|
||||
%set_build_flags
|
||||
|
||||
# FIXME RHEL-89715 interim countermeasure
|
||||
%ifarch aarch64
|
||||
%define leancrypto_extra_setup_flags -Ddisable-asm=true
|
||||
%endif
|
||||
|
||||
meson setup -Dprefix="$PWD/install" -Dlibdir="$PWD/install/lib" \
|
||||
-Ddefault_library=static \
|
||||
-Dascon=disabled -Dascon_keccak=disabled \
|
||||
@ -398,6 +404,7 @@ meson setup -Dprefix="$PWD/install" -Dlibdir="$PWD/install/lib" \
|
||||
-Dhotp=disabled -Dtotp=disabled \
|
||||
-Daes_block=disabled -Daes_cbc=disabled -Daes_ctr=disabled \
|
||||
-Daes_kw=disabled -Dapps=disabled \
|
||||
%{?leancrypto_extra_setup_flags} \
|
||||
_build
|
||||
meson compile -v -C _build
|
||||
meson install -C _build
|
||||
|
||||
Loading…
Reference in New Issue
Block a user