Skip to content

Commit e5ae80a

Browse files
committed
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.
1 parent ba2edca commit e5ae80a

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

build-packages.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,12 @@ export TARGET_OS=linux
1515
for arch in ${linuxArchs[@]}; do
1616
unset TARGET_ARM
1717
export TARGET_ARCH=$arch
18+
19+
## Support for armv6 builds
20+
if [[ $arch == arm ]] ; then
21+
export TARGET_ARCH=arm
22+
export TARGET_ARM=6
23+
fi
1824

1925
## Support for armhf builds
2026
if [[ $arch == armhf ]] ; then

0 commit comments

Comments
 (0)