mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-05-08 12:30:44 +02:00
zero-profile: updates
This commit is contained in:
parent
0f5eaa470b
commit
f35053feb2
1 changed files with 23 additions and 0 deletions
|
|
@ -6,12 +6,21 @@
|
|||
if [[ ${CATEGORY}/${PN} == net-analyzer/gspoof ]]; then
|
||||
export CFLAGS="${CFLAGS/-Werror=format-security/}"
|
||||
fi
|
||||
if [[ ${CATEGORY}/${PN} == net-analyzer/hunt ]]; then
|
||||
export CFLAGS="${CFLAGS/-Werror=format-security/}"
|
||||
fi
|
||||
if [[ ${CATEGORY}/${PN} == net-analyzer/p0f ]]; then
|
||||
export CFLAGS="${CFLAGS/-Werror=format-security/}"
|
||||
fi
|
||||
if [[ ${CATEGORY}/${PN} == dev-libs/libcdio ]]; then
|
||||
export CFLAGS="${CFLAGS/-Werror=format-security/}"
|
||||
fi
|
||||
if [[ ${CATEGORY}/${PN} == net-mail/mailutils ]]; then
|
||||
export CFLAGS="${CFLAGS/-Werror=format-security/}"
|
||||
fi
|
||||
if [[ ${CATEGORY}/${PN} == dev-build/gn ]]; then
|
||||
export CXXFLAGS="${CXXFLAGS/-Werror=format-security/}"
|
||||
fi
|
||||
|
||||
# Packages that need stringop-overread disabled
|
||||
if [[ ${CATEGORY}/${PN} == media-video/ffmpeg ]]; then
|
||||
|
|
@ -59,6 +68,20 @@ if [[ ${CATEGORY}/${PN} == app-crypt/hashcat ]]; then
|
|||
export ALLOW_TEST=all
|
||||
fi
|
||||
|
||||
# No -fhardened (report these
|
||||
if [[ ${CATEGORY}/${PN} == app-emulation/qemu ]]; then
|
||||
export CFLAGS="${CFLAGS/-fhardened/}"
|
||||
fi
|
||||
if [[ ${CATEGORY}/${PN} == dev-libs/elfutils ]]; then
|
||||
export CFLAGS="${CFLAGS/-fhardened/}"
|
||||
fi
|
||||
if [[ ${CATEGORY}/${PN} == dev-libs/glib ]]; then
|
||||
export CFLAGS="${CFLAGS/-fhardened/}"
|
||||
fi
|
||||
if [[ ${CATEGORY}/${PN} == sys-boot/grub ]]; then
|
||||
export CFLAGS="${CFLAGS/-fhardened/}"
|
||||
fi
|
||||
|
||||
# These packages need lto or similar disabled
|
||||
# CFLAGS
|
||||
if [[ ${CATEGORY}/${PN} == app-text/texlive-core ]]; then
|
||||
|
|
|
|||
Loading…
Reference in a new issue