We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4d948b1 + 531e29e commit ee45b9bCopy full SHA for ee45b9b
script/lib.sh
@@ -45,12 +45,21 @@ function set_cross_vars() {
45
armel)
46
HOST=arm-${PLATFORM}eabi
47
GOARCH=arm
48
- GOARM=6
+ GOARM=5
49
;;
50
armhf)
51
HOST=arm-${PLATFORM}eabihf
52
53
- GOARM=7
+ # "armhf" means ARMv7 for Debian, ARMv6 for Raspbian.
54
+ # ARMv6 is chosen here for compatibility.
55
+ #
56
+ # https://wiki.debian.org/RaspberryPi
57
58
+ # > Raspberry Pi OS builds a single image for all of the Raspberry families,
59
+ # > so you will get an armhf 32-bit, hard floating-point system, but built
60
+ # > for the ARMv6 ISA (with VFP2), unlike Debian's ARMv7 ISA (with VFP3)
61
+ # > port.
62
+ GOARM=6
63
64
ppc64le)
65
HOST=powerpc64le-${PLATFORM}
0 commit comments