summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-process/cronie/cronie-1.5.4-r1.ebuild')
-rw-r--r--sys-process/cronie/cronie-1.5.4-r1.ebuild5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys-process/cronie/cronie-1.5.4-r1.ebuild b/sys-process/cronie/cronie-1.5.4-r1.ebuild
index 06e156a8cb7..c56c8960c7f 100644
--- a/sys-process/cronie/cronie-1.5.4-r1.ebuild
+++ b/sys-process/cronie/cronie-1.5.4-r1.ebuild
@@ -54,8 +54,9 @@ src_configure() {
)
if use anacron; then
- use elibc_musl && append-cflags "-lobstack"
- use elibc_uclibc && append-cflags "-lobstack"
+ if use elibc_musl || use elibc_uclibc ; then
+ append-cflags "-lobstack"
+ fi
fi
SPOOL_DIR="/var/spool/cron/crontabs" \
ANACRON_SPOOL_DIR="/var/spool/anacron" \