aboutsummaryrefslogtreecommitdiffhomepage
path: root/builder
diff options
context:
space:
mode:
authorYeicor <[email protected]>2022-08-08 19:09:53 +0200
committerRon Evans <[email protected]>2022-08-09 11:14:39 +0200
commitf34a0d44cac1609df88fa439eb8c77683b30cc53 (patch)
treef9911c3f82afc49e643dee65b348419e1b107ed1 /builder
parentdf52b500bf66d97942e100d0319644c828d49fd6 (diff)
downloadtinygo-f34a0d44cac1609df88fa439eb8c77683b30cc53.tar.gz
tinygo-f34a0d44cac1609df88fa439eb8c77683b30cc53.zip
Fix for builds of tinygo using an Android host
Diffstat (limited to 'builder')
-rw-r--r--builder/buildid.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/builder/buildid.go b/builder/buildid.go
index e6527700a..80592dc29 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 {