diff options
| author | Jakub Jirutka <jakub@jirutka.cz> | 2017-04-08 22:14:25 +0200 |
|---|---|---|
| committer | Jakub Jirutka <jakub@jirutka.cz> | 2017-04-09 15:41:28 +0200 |
| commit | 2f952ff8bc6c92a3546e39f25b0267cc57dc8487 (patch) | |
| tree | 9fff5d40372f36f31097610c586119e567d4b232 /testing/rust | |
| parent | 2a232275cdf5d5974211cca01d02c76cb31d0931 (diff) | |
| download | aports-2f952ff8bc6c92a3546e39f25b0267cc57dc8487.tar.bz2 aports-2f952ff8bc6c92a3546e39f25b0267cc57dc8487.tar.xz | |
testing/rust: add -dbg subpackage, let binaries to be stripped
I don't remember the exact reason why I've disabled stripping. Maybe
I get it from Fedora package [1]? Anyway, I've checked that our strip
does not remove .rustc section, so it should be probably okay.
[1]: https://src.fedoraproject.org/cgit/rpms/rust.git/tree/rust.spec?id=2453b710d43f1f9cacc53b4e9caa2da2f9c888ac#n185
Diffstat (limited to 'testing/rust')
| -rw-r--r-- | testing/rust/APKBUILD | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/testing/rust/APKBUILD b/testing/rust/APKBUILD index 962a392629..73b358534f 100644 --- a/testing/rust/APKBUILD +++ b/testing/rust/APKBUILD @@ -17,7 +17,8 @@ depends="$pkgname-stdlib=$pkgver-r$pkgrel gcc" # libffi-dev is needed just because we compile llvm with LLVM_ENABLE_FFI. makedepends="cmake file libffi-dev libunwind-dev llvm llvm-dev musl-dev python2 tar zlib-dev" -subpackages="$pkgname-stdlib $pkgname-gdb::noarch $pkgname-lldb::noarch $pkgname-doc" +subpackages="$pkgname-dbg $pkgname-stdlib + $pkgname-gdb::noarch $pkgname-lldb::noarch $pkgname-doc" # XXX: Rust is self-hosted, so you need rustc to build rustc... The problem is # that Rust doesn't provide prebuilt rustc for musl yet. Thus we use binaries @@ -37,8 +38,7 @@ source="https://static.rust-lang.org/dist/rustc-$pkgver-src.tar.gz change-rpath-to-rustlib.patch fix-jemalloc-musl.patch " -# TODO: strip gently (see Fedora pkg for inspiration) -options="!strip !check" +options="!check" builddir="$srcdir/rustc-$pkgver-src" _ctarget="$CARCH-unknown-linux-musl" |
