TUN-8176: Support ARM platforms that don't have an FPU or have it enabled in kernel

This commit is contained in:
João Oliveirinha 2024-01-22 11:23:14 +00:00
parent 9c1f5c33a8
commit 3ad4b732d4
1 changed files with 2 additions and 2 deletions

View File

@ -16,10 +16,10 @@ for arch in ${linuxArchs[@]}; do
unset TARGET_ARM unset TARGET_ARM
export TARGET_ARCH=$arch export TARGET_ARCH=$arch
## Support for armv6 builds ## Support for arm platforms without hardware FPU enabled
if [[ $arch == arm ]] ; then if [[ $arch == arm ]] ; then
export TARGET_ARCH=arm export TARGET_ARCH=arm
export TARGET_ARM=6 export TARGET_ARM=5
fi fi
## Support for armhf builds ## Support for armhf builds