Commit 4f6151b
committed
fix: add target-specific CFLAGS for cross-compilation
- Add CFLAGS_aarch64_unknown_linux_gnu for manylinux aarch64 builds
- Add CFLAGS_armv7_unknown_linux_gnueabihf for manylinux armv7 builds
- Add CFLAGS_aarch64_unknown_linux_musl for musllinux aarch64 builds
- Add CFLAGS_armv7_unknown_linux_musleabihf for musllinux armv7 builds
The generic CFLAGS was not being passed to the cross-compiler in the
Docker container. Using target-specific environment variables ensures
the flags are properly applied during cross-compilation.1 parent adbe9d4 commit 4f6151b
1 file changed
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
| 42 | + | |
| 43 | + | |
42 | 44 | | |
43 | 45 | | |
44 | 46 | | |
| |||
70 | 72 | | |
71 | 73 | | |
72 | 74 | | |
| 75 | + | |
| 76 | + | |
73 | 77 | | |
74 | 78 | | |
75 | 79 | | |
| |||
0 commit comments