mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-09 15:13:31 -04:00
www-apps/zola: Disable stripping and LTO by cargo
Signed-off-by: zyxhere💭 <zyx@envs.net>
This commit is contained in:
@@ -632,6 +632,13 @@ DEPEND="${RDEPEND}"
|
||||
|
||||
QA_FLAGS_IGNORED="usr/bin/${PN}"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
# Disable stripping and LTO
|
||||
sed -i 's/profile.release/profile.dummy/' "${S}"/Cargo.toml
|
||||
sed -i '/\profile.dummy/a inherits = \"release\"' "${S}"/Cargo.toml
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# Use system libraries
|
||||
export RUSTONIG_SYSTEM_LIBONIG=1
|
||||
|
||||
Reference in New Issue
Block a user