Skip to content

Commit

Permalink
TUN-8161: Fix broken ARM build for armv6
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
joliveirinha committed Jan 16, 2024
1 parent ba2edca commit e5ae80a
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions build-packages.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e5ae80a

Please sign in to comment.