You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We need to add an CFLAGS env var for armv7-unknown-linux-musleabihf on
docker run to make the compiler happy.
Error was:
```
warning: cc1: error: '-mfloat-abi=hard': selected processor lacks an FPU
```
Can be fixed by using either of them:
export CFLAGS_armv7_unknown_linux_musleabihf='-mfpu=vfpv3-d16'
export CFLAGS_armv7_unknown_linux_musleabihf='-mfpu=neon'
References:
- influxdata/flux#3379 (comment)
- https://wiki.debian.org/ArmHardFloatPort/VfpComparison#FPU
Per documentation I use "vfpv3-d16" for the CI step. In the end the user
this cross compiler tool needs to make the appropriate decision in their
projects.
0 commit comments