i2pd: fix build for i686.

AESNI and AVX aren't required on i686.
Problem reported in #26436.
This commit is contained in:
Érico Nogueira 2021-04-18 01:38:57 -03:00
parent a0c1e35da4
commit 614576e956

View file

@ -1,7 +1,7 @@
# Template file for 'i2pd'
pkgname=i2pd
version=2.37.0
revision=1
revision=2
build_style=gnu-makefile
make_build_args="USE_UPNP=yes"
makedepends="zlib-devel boost-devel openssl-devel miniupnpc-devel
@ -23,7 +23,7 @@ _i2pd_homedir="/var/lib/i2pd"
make_dirs="/var/lib/i2pd 0700 _i2pd _i2pd"
case "${XBPS_TARGET_MACHINE}" in
x86_64*|i686*) ;;
x86_64*) ;;
*) make_build_args+=" USE_AESNI=no USE_AVX=no" ;;
esac