diff options
author | davidovski <david@davidovski.xyz> | 2022-05-03 19:55:05 +0100 |
---|---|---|
committer | davidovski <david@davidovski.xyz> | 2022-05-03 19:55:05 +0100 |
commit | 50740393013cb5fde05318d917ac4b68c58fdfa9 (patch) | |
tree | 2394d57656a9cbdbe9b325e7d5f480de57ebce7a /repo/devel | |
parent | 606bc59d0f8f67815c6a717843835477d44db6b3 (diff) |
added some packages for gimp and firefox
Diffstat (limited to 'repo/devel')
-rw-r--r-- | repo/devel/rustc.xibuild | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/repo/devel/rustc.xibuild b/repo/devel/rustc.xibuild index 049ecae..758dafe 100644 --- a/repo/devel/rustc.xibuild +++ b/repo/devel/rustc.xibuild @@ -1,7 +1,7 @@ #!/bin/sh -MAKEDEPS="cmake llvm clang" -DEPS="curl gcc libssh2 openssl" +MAKEDEPS="cmake llvm clang llvm-ar" +DEPS="curl libssh2 openssl" PKG_VER=1.58.1 SOURCE=https://static.rust-lang.org/dist/rustc-$PKG_VER-src.tar.gz @@ -48,16 +48,16 @@ build () { --set="target.$target.llvm-config=/usr/bin/llvm-config" \ --set="target.$target.musl-root=/usr" \ --set="target.$target.crt-static=false" \ - --set="target.$target.cc=gcc" \ - --set="target.$target.cxx=c++" \ - --set="target.$target.ar=ar" \ - --set="target.$target.linker=gcc" \ + --set="target.$target.cc=clang" \ + --set="target.$target.cxx=clang++" \ + --set="target.$target.ar=llvm-ar" \ + --set="target.$target.linker=clang" \ --set="target.$build.musl-root=/usr" \ --set="target.$build.crt-static=false" \ - --set="target.$build.cc=gcc" \ - --set="target.$build.cxx=c++" \ - --set="target.$build.ar=ar" \ - --set="target.$build.linker=gcc" + --set="target.$build.cc=clang" \ + --set="target.$build.cxx=clang++" \ + --set="target.$build.ar=llvm-ar" \ + --set="target.$build.linker=clang" sed 's/#deny-warnings = .*/deny-warnings = false/' -i config.toml sed 's|deny(warnings,|deny(|' -i src/bootstrap/lib.rs |