From e5ae80ab861aa0b48d5101790187fdf4da0c18d2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Oliveirinha?= Date: Mon, 15 Jan 2024 21:16:34 +0000 Subject: [PATCH] TUN-8161: Fix broken ARM build for armv6 During the recent changes to the build pipeline, the implicit GOARM env variable changed from 6 to 7. This means we need to explicitly define the GOARM to v6. --- build-packages.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/build-packages.sh b/build-packages.sh index 2264a3e5..e7aa5cd3 100755 --- a/build-packages.sh +++ b/build-packages.sh @@ -15,6 +15,12 @@ export TARGET_OS=linux for arch in ${linuxArchs[@]}; do unset TARGET_ARM export TARGET_ARCH=$arch + + ## Support for armv6 builds + if [[ $arch == arm ]] ; then + export TARGET_ARCH=arm + export TARGET_ARM=6 + fi ## Support for armhf builds if [[ $arch == armhf ]] ; then