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"
|
distfiles="https://github.com/Yubico/libfido2/archive/${version}.tar.gz"
|
||||||
checksum=5990f923c9390fe1e6a00ba5d1d1f74030e7344b855e971d9fb7223e70ff3122
|
checksum=5990f923c9390fe1e6a00ba5d1d1f74030e7344b855e971d9fb7223e70ff3122
|
||||||
|
|
||||||
case "$XBPS_TARGET_MACHINE" in
|
CFLAGS="-Wno-type-limits"
|
||||||
*-musl)
|
if [ "$XBPS_TARGET_LIBC" = musl ]; then
|
||||||
CFLAGS="-Wno-overflow" # ioctl takes int on musl
|
CFLAGS+=" -Wno-overflow" # ioctl takes int on musl
|
||||||
;;
|
fi
|
||||||
esac
|
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
vlicense LICENSE
|
vlicense LICENSE
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user