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

Signed-off-by: Khem Raj <[email protected]>
---
 meta-oe/recipes-extended/minio/minio_git.bb | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/meta-oe/recipes-extended/minio/minio_git.bb 
b/meta-oe/recipes-extended/minio/minio_git.bb
index e88ea632f6..63451e883d 100644
--- a/meta-oe/recipes-extended/minio/minio_git.bb
+++ b/meta-oe/recipes-extended/minio/minio_git.bb
@@ -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"
 
-- 
2.38.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#99954): 
https://lists.openembedded.org/g/openembedded-devel/message/99954
Mute This Topic: https://lists.openembedded.org/mt/95486801/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to