sys-apps/dinit: don't overwrite upstream flags

Closes: https://bugs.gentoo.org/979661
Signed-off-by: Emi <reedy.sailors.8t@icloud.com>
This commit is contained in:
Emi
2026-07-22 10:02:35 +02:00
parent 76123b8891
commit 372bee60e0
2 changed files with 16 additions and 0 deletions

View File

@@ -28,6 +28,14 @@ RDEPEND="
DEPEND="${RDEPEND}"
src_configure() {
# bug #979661
# don't overwrite upstream flags
export CXXFLAGS_EXTRA=${CXXFLAGS}
unset CXXFLAGS
export LDFLAGS_EXTRA=${LDFLAGS}
unset LDFLAGS
# Build system is not a normal autotools package
econf \
$(use_enable sysv-utils shutdown) \
$(use_enable cgroups) \