summaryrefslogtreecommitdiff
path: root/repo/devel/rustc.xibuild
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-03-06 15:21:10 +0000
committerdavidovski <david@davidovski.xyz>2022-03-06 15:21:10 +0000
commit75e7bb9c72d562d397f9fb62072ab114cfbc6244 (patch)
treec2af33a2c487d2b411e3be0900f675c41ca5ab4f /repo/devel/rustc.xibuild
parentce1ac2b89b42e4e05ba706b7bbdcc39cd2e64e8b (diff)
fixed python compilation for js78
Diffstat (limited to 'repo/devel/rustc.xibuild')
-rw-r--r--repo/devel/rustc.xibuild18
1 files changed, 9 insertions, 9 deletions
diff --git a/repo/devel/rustc.xibuild b/repo/devel/rustc.xibuild
index 1e4df28..9667aa3 100644
--- a/repo/devel/rustc.xibuild
+++ b/repo/devel/rustc.xibuild
@@ -1,6 +1,6 @@
#!/bin/sh
-MAKEDEPS="cmake llvm"
+MAKEDEPS="cmake llvm clang"
DEPS="curl gcc libssh2 openssl"
PKG_VER=1.58.1
@@ -54,16 +54,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"
python ./x.py dist --jobs $JOBS