summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-fs/mdadm/mdadm-3.4.ebuild')
-rw-r--r--sys-fs/mdadm/mdadm-3.4.ebuild3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys-fs/mdadm/mdadm-3.4.ebuild b/sys-fs/mdadm/mdadm-3.4.ebuild
index 88431e15c5cb..a4aff3eb858e 100644
--- a/sys-fs/mdadm/mdadm-3.4.ebuild
+++ b/sys-fs/mdadm/mdadm-3.4.ebuild
@@ -25,6 +25,7 @@ RDEPEND=">=sys-apps/util-linux-2.16"
RESTRICT="test"
mdadm_emake() {
+ # We should probably make corosync & libdlm into USE flags. #573782
emake \
PKG_CONFIG="$(tc-getPKG_CONFIG)" \
CC="$(tc-getCC)" \
@@ -32,6 +33,8 @@ mdadm_emake() {
CXFLAGS="${CFLAGS}" \
UDEVDIR="$(get_udevdir)" \
SYSTEMD_DIR="$(systemd_get_unitdir)" \
+ COROSYNC="-DNO_COROSYNC" \
+ DLM="-DNO_DLM" \
"$@"
}