From 7597fb94d3a252d8b6b8a04094620cdb51694bcb Mon Sep 17 00:00:00 2001 From: "Rick Farina (Zero_Chaos)" Date: Thu, 1 May 2025 11:14:10 -0400 Subject: [PATCH] zero-profile: more exceptions --- profiles/pentoo/zero-system/profile.bashrc | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/profiles/pentoo/zero-system/profile.bashrc b/profiles/pentoo/zero-system/profile.bashrc index 2443d01d0..0488c809e 100644 --- a/profiles/pentoo/zero-system/profile.bashrc +++ b/profiles/pentoo/zero-system/profile.bashrc @@ -69,6 +69,15 @@ if [[ ${CATEGORY}/${PN} == app-crypt/hashcat ]]; then fi # No -fhardened (report these +if [[ ${CATEGORY}/${PN} == sys-fs/dd-rescue ]]; then + export CFLAGS="${CFLAGS/-fhardened/}" +fi +if [[ ${CATEGORY}/${PN} == app-containers/docker-buildx ]]; then + export CFLAGS="${CFLAGS/-fhardened/}" +fi +if [[ ${CATEGORY}/${PN} == sys-power/nut ]]; then + export CFLAGS="${CFLAGS/-fhardened/}" +fi if [[ ${CATEGORY}/${PN} == app-emulation/qemu ]]; then export CFLAGS="${CFLAGS/-fhardened/}" fi