summaryrefslogtreecommitdiff
path: root/sys-fs/mdadm/mdadm-4.2-r3.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'sys-fs/mdadm/mdadm-4.2-r3.ebuild')
-rw-r--r--sys-fs/mdadm/mdadm-4.2-r3.ebuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys-fs/mdadm/mdadm-4.2-r3.ebuild b/sys-fs/mdadm/mdadm-4.2-r3.ebuild
index 176f5e80c06c..35a62d211b39 100644
--- a/sys-fs/mdadm/mdadm-4.2-r3.ebuild
+++ b/sys-fs/mdadm/mdadm-4.2-r3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -61,6 +61,9 @@ src_compile() {
# CPPFLAGS won't work for this
use udev || append-cflags -DNO_LIBUDEV
+ # bug 907082
+ use elibc_musl && append-cppflags -D_LARGEFILE64_SOURCE
+
mdadm_emake all
}