mirror of
https://git.sr.ht/~eliasnaur/gio
synced 2026-07-03 16:35:36 +00:00
cmd/gogio: force GOARM=7 to avoid softfloat on Android
Signed-off-by: Inkeliz <inkeliz@inkeliz.com>
This commit is contained in:
@@ -211,6 +211,7 @@ func compileAndroid(tmpDir string, tools *androidTools, bi *buildInfo) (err erro
|
|||||||
os.Environ(),
|
os.Environ(),
|
||||||
"GOOS=android",
|
"GOOS=android",
|
||||||
"GOARCH="+a,
|
"GOARCH="+a,
|
||||||
|
"GOARM=7", // Avoid softfloat.
|
||||||
"CGO_ENABLED=1",
|
"CGO_ENABLED=1",
|
||||||
"CC="+clang,
|
"CC="+clang,
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user