Skip to content
This repository has been archived by the owner on Jan 1, 2023. It is now read-only.

Commit

Permalink
rust: use shared LLVM instead of static
Browse files Browse the repository at this point in the history
For the next Wyverkiss tarball release, I'm looking into reducing space,
by removing LLVM static libs (libLLVM*.a and libclang*.a) -- of course,
the actual LLVM build file will still include this, but the build only
applies to the next rootfs.
  • Loading branch information
konimex committed Mar 25, 2020
1 parent 1ea93da commit e3cdaf3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions extra/rust/build
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@
patch -p1 < llvm-clang.patch

cat > config.toml <<EOF
[llvm]
link-shared = true
[build]
build = "x86_64-unknown-linux-musl"
host = [ "x86_64-unknown-linux-musl" ]
Expand Down

0 comments on commit e3cdaf3

Please sign in to comment.