← recipes

Commit 8293ced

0
plików
+0
dodanych
-0
usuniętych
@@ -12,6 +12,8 @@ makedepends:
12 12 - llvm
13 13 - python
14 14 - libssh2
15 +- libffi
16 +- zlib
15 17 source:
16 18 - 'https://static.rust-lang.org/dist/${pkgname}-${pkgver}-src.tar.xz'
17 19 - 'https://github.com/lfs-book/rust-openssl/archive/v0.10.78/rust-openssl-0.10.78.tar.gz'
@@ -92,7 +94,7 @@ build: |
92 94 download-rustc = false
93 95
94 96 # Don't build lld which does not belong to this package and seems not
95 - # so useful for BLFS. Even if it turns out to be really useful we'd build
97 + # so useful for BLFS. Even if it turns out to be really useful we'd build
96 98 # it as a part of the LLVM package instead.
97 99 lld = false
98 100
@@ -108,7 +110,7 @@ build: |
108 110
109 111 EOF
110 112
111 - export RUSTFLAGS="$RUSTFLAGS -C link-args=-lffi -C linker=cc"
113 + export RUSTFLAGS="$RUSTFLAGS -C link-args=-lffi"
112 114 export LD_LIBRARY_PATH="$(pwd)/build/x86_64-unknown-linux-gnu/stage0/lib:$LD_LIBRARY_PATH"
113 115
114 116 python3 ./x.py build --exclude src/tools/miri