summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gilbert <floppym@gentoo.org>2020-12-14 13:29:09 -0500
committerMike Gilbert <floppym@gentoo.org>2020-12-14 13:29:09 -0500
commit7874f59d18ef92104d413b396989fd40c268d42b (patch)
tree8626fd5b40e54186983d855ee6f3d97b2039f2e2 /sys-fs/mdadm
parentdev-haskell/comonad: unconditionally enable USEs (diff)
downloadgentoo-7874f59d18ef92104d413b396989fd40c268d42b.tar.gz
gentoo-7874f59d18ef92104d413b396989fd40c268d42b.tar.bz2
gentoo-7874f59d18ef92104d413b396989fd40c268d42b.zip
sys-fs/mdadm: set STRIP to blank
The Makefile passes STRIP strip to the "install" command. It should either be empty, or set to "-s". Closes: https://bugs.gentoo.org/732276 Signed-off-by: Mike Gilbert <floppym@gentoo.org>
Diffstat (limited to 'sys-fs/mdadm')
-rw-r--r--sys-fs/mdadm/mdadm-4.1.ebuild24
1 files changed, 15 insertions, 9 deletions
diff --git a/sys-fs/mdadm/mdadm-4.1.ebuild b/sys-fs/mdadm/mdadm-4.1.ebuild
index 515775501e94..9aad93609658 100644
--- a/sys-fs/mdadm/mdadm-4.1.ebuild
+++ b/sys-fs/mdadm/mdadm-4.1.ebuild
@@ -30,16 +30,22 @@ PATCHES=(
mdadm_emake() {
# We should probably make corosync & libdlm into USE flags. #573782
- emake \
- PKG_CONFIG="$(tc-getPKG_CONFIG)" \
- CC="$(tc-getCC)" \
- CWFLAGS="-Wall" \
- CXFLAGS="${CFLAGS}" \
- UDEVDIR="$(get_udevdir)" \
- SYSTEMD_DIR="$(systemd_get_systemunitdir)" \
- COROSYNC="-DNO_COROSYNC" \
- DLM="-DNO_DLM" \
+ local args=(
+ PKG_CONFIG="$(tc-getPKG_CONFIG)"
+ CC="$(tc-getCC)"
+ CWFLAGS="-Wall"
+ CXFLAGS="${CFLAGS}"
+ UDEVDIR="$(get_udevdir)"
+ SYSTEMD_DIR="$(systemd_get_systemunitdir)"
+ COROSYNC="-DNO_COROSYNC"
+ DLM="-DNO_DLM"
+
+ # https://bugs.gentoo.org/732276
+ STRIP=
+
"$@"
+ )
+ emake "${args[@]}"
}
src_compile() {