summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys-process/cronie/cronie-1.5.4-r1.ebuild5
-rw-r--r--sys-process/cronie/cronie-1.5.5.ebuild5
2 files changed, 6 insertions, 4 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" \
diff --git a/sys-process/cronie/cronie-1.5.5.ebuild b/sys-process/cronie/cronie-1.5.5.ebuild
index d6478c60ec6..b27c909f26e 100644
--- a/sys-process/cronie/cronie-1.5.5.ebuild
+++ b/sys-process/cronie/cronie-1.5.5.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" \