Skip to contentSkip to conversation

minio: Disable on mips

PATCH New Khem Raj 1 participant 1 message Dec 6, 2022

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/1 minio: Disable on mips

It does not build due to CGO building in shared mode and needing PIC but somewhere it needs to be fixed to build. Until then disable it

---
 meta-oe/recipes-extended/minio/minio_git.bb | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
meta-oe/recipes-extended/minio/minio_git.bb +2 -1
index e88ea632f6..63451e883d 100644
@@ -24,7 +24,8 @@ PV = "${SRCREV_mc}"
 inherit go
 inherit goarch
 
-CGO_LDFLAGS:append:mips = " -no-pie"
+# | ./github.com/minio/mc/main.go:27:(.text+0xd258b8): relocation R_MIPS_HI16 against `a local symbol' cannot be used when making a shared object; recompile with -fPIC
+COMPATIBLE_HOST:mips = "null"
 
 DEPENDS += "rsync-native"
 
Signature · 1 line
2.38.1