From f34a0d44cac1609df88fa439eb8c77683b30cc53 Mon Sep 17 00:00:00 2001 From: Yeicor <4929005+Yeicor@users.noreply.github.com> Date: Mon, 8 Aug 2022 19:09:53 +0200 Subject: [PATCH] Fix for builds of tinygo using an Android host --- builder/buildid.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/builder/buildid.go b/builder/buildid.go index e6527700..80592dc2 100644 --- a/builder/buildid.go +++ b/builder/buildid.go @@ -24,7 +24,7 @@ func ReadBuildID() ([]byte, error) { defer f.Close() switch runtime.GOOS { - case "linux", "freebsd": + case "linux", "freebsd", "android": // Read the GNU build id section. (Not sure about FreeBSD though...) file, err := elf.NewFile(f) if err != nil {