Commit 2f952ff8 authored by Jakub Jirutka's avatar Jakub Jirutka

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.

parent 2a232275
......@@ -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="$pkgver-src.tar.gz
# TODO: strip gently (see Fedora pkg for inspiration)
options="!strip !check"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment