grafana: s/387/softfloat/ in os.Setenv("GO386", "387") to unbreak i386
This commit is contained in:
parent
f49158de81
commit
6ab48cd1ce
14
sysutils/grafana/patches/patch-build_go
Normal file
14
sysutils/grafana/patches/patch-build_go
Normal file
@ -0,0 +1,14 @@
|
||||
$OpenBSD: patch-build_go,v 1.1 2021/03/23 15:17:57 sthen Exp $
|
||||
|
||||
Index: build.go
|
||||
--- build.go.orig
|
||||
+++ build.go
|
||||
@@ -343,7 +343,7 @@ func setBuildEnv() {
|
||||
os.Setenv("GOARCH", goarch)
|
||||
}
|
||||
if goarch == "386" {
|
||||
- os.Setenv("GO386", "387")
|
||||
+ os.Setenv("GO386", "softfloat")
|
||||
}
|
||||
if cgo {
|
||||
os.Setenv("CGO_ENABLED", "1")
|
Loading…
x
Reference in New Issue
Block a user