diff options
author | Mike Gilbert <floppym@gentoo.org> | 2020-12-14 13:29:09 -0500 |
---|---|---|
committer | Mike Gilbert <floppym@gentoo.org> | 2020-12-14 13:29:09 -0500 |
commit | 7874f59d18ef92104d413b396989fd40c268d42b (patch) | |
tree | 8626fd5b40e54186983d855ee6f3d97b2039f2e2 | |
parent | dev-haskell/comonad: unconditionally enable USEs (diff) | |
download | gentoo-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>
-rw-r--r-- | sys-fs/mdadm/mdadm-4.1.ebuild | 24 |
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() { |