Commit 7b341e3
committed
Enable HF targets again
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.1 parent f4984d6 commit 7b341e3
1 file changed
+17
-12
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
29 | 28 | | |
30 | 29 | | |
31 | 30 | | |
| |||
34 | 33 | | |
35 | 34 | | |
36 | 35 | | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
42 | 40 | | |
43 | 41 | | |
44 | 42 | | |
| |||
70 | 68 | | |
71 | 69 | | |
72 | 70 | | |
73 | | - | |
74 | | - | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
75 | 80 | | |
76 | 81 | | |
77 | 82 | | |
0 commit comments