diff options
author | Ayke van Laethem <[email protected]> | 2022-01-02 00:26:15 +0100 |
---|---|---|
committer | Ron Evans <[email protected]> | 2022-04-10 21:03:59 +0200 |
commit | 83227e68dff83ff1c9cfacaf5defa4d2385556b0 (patch) | |
tree | 8a35ab786a15641aa46bf4e2443243ddc765e319 /builder/musl.go | |
parent | 09a3c6a16b37a23f0f753b606bd32eabb842f012 (diff) | |
download | tinygo-83227e68dff83ff1c9cfacaf5defa4d2385556b0.tar.gz tinygo-83227e68dff83ff1c9cfacaf5defa4d2385556b0.zip |
all: use compiler-rt from LLVM
Diffstat (limited to 'builder/musl.go')
-rw-r--r-- | builder/musl.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/builder/musl.go b/builder/musl.go index 46ce92ee3..fa29496a8 100644 --- a/builder/musl.go +++ b/builder/musl.go @@ -104,7 +104,7 @@ var Musl = Library{ "-fno-stack-protector", } }, - sourceDir: "lib/musl/src", + sourceDir: func() string { return filepath.Join(goenv.Get("TINYGOROOT"), "lib/musl/src") }, librarySources: func(target string) []string { arch := compileopts.MuslArchitecture(target) globs := []string{ |