libfido2: fix 32bit cross build
This commit is contained in:
parent
b0804ec06d
commit
3954efd6cf
|
@ -12,11 +12,10 @@ homepage="https://github.com/Yubico/libfido2"
|
|||
distfiles="https://github.com/Yubico/libfido2/archive/${version}.tar.gz"
|
||||
checksum=5990f923c9390fe1e6a00ba5d1d1f74030e7344b855e971d9fb7223e70ff3122
|
||||
|
||||
case "$XBPS_TARGET_MACHINE" in
|
||||
*-musl)
|
||||
CFLAGS="-Wno-overflow" # ioctl takes int on musl
|
||||
;;
|
||||
esac
|
||||
CFLAGS="-Wno-type-limits"
|
||||
if [ "$XBPS_TARGET_LIBC" = musl ]; then
|
||||
CFLAGS+=" -Wno-overflow" # ioctl takes int on musl
|
||||
fi
|
||||
|
||||
post_install() {
|
||||
vlicense LICENSE
|
||||
|
|
Loading…
Reference in New Issue