logo

overlay

My own overlay for experimentations, use with caution, no support is provided git clone https://hacktivis.me/git/overlay.git
commit: 1b98f37caa332e63d8f09effeb21ecb096e3abc1
parent 0214ca37bbf7b94ff2e40aa2a2b50a587ee7a61d
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Fri, 30 Aug 2024 07:40:48 +0200

profiles/base: update flags (-ftrapv, write-strings, __gentoo_check_ldflags__, …)

Diffstat:

Mprofiles/base/make.defaults12++++++------
1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/profiles/base/make.defaults b/profiles/base/make.defaults @@ -1,14 +1,14 @@ USE=" -suid -kde -handbook -sslv3 -zeroconf -share -sendto -magic cacert cjk dane idn mandoc jumbo-build smp threads urandom iproute2 caps pic metric syslog - system-* " -CFLAGS="-O2 -ggdb -fPIE -fPIC -fstack-protector-strong -pipe -march=native -mtune=native -Wno-conversion -Wsign-conversion -Wno-error=sign-conversion -Wformat -Wformat-security" -LDFLAGS="-Wl,--as-needed -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now" -OBJCCFLAGS="${CFLAGS}" -CXXFLAGS="${CFLAGS}" -OBJCXXFLAGS="${CFLAGS}" +COMMON_FLAGS="-O2 -pipe -march=native -mtune=native -ggdb -Wall -fPIC -ftrapv" +CFLAGS="${COMMON_FLAGS} -Wwrite-strings" +OBJCCFLAGS="${COMMON_FLAGS}" +CXXFLAGS="${COMMON_FLAGS}" +OBJCXXFLAGS="${COMMON_FLAGS}" +LDFLAGS="-Wl,--as-needed -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -Wl,--defsym=__gentoo_check_ldflags__=0" CONFIG_PROTECT="${CONFIG_PROTECT} /lib/udev/rules.d/" INSTALL_MASK="${INSTALL_MASK} /usr/lib/systemd /usr/lib64/systemd /lib/systemd /etc/systemd /etc/sudoers /etc/sudoers.d /usr/share/bash-completion /usr/share/zsh /usr/share/fish /etc/xdg/autostart /usr/share/git-core/templates/hooks /usr/share/man/man1/builtins.1 /usr/share/man/man1/bash_builtins.1 /etc/skel /var/empty /etc/cron*"