From 305761d4b91b7c39b1450107f1d319385bbf9322 Mon Sep 17 00:00:00 2001 From: inference Date: Sat, 14 Oct 2023 19:11:34 +0100 Subject: [PATCH] Switch from signed integer overflow wrapping to trapping --- aa000-0/portage/make.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/aa000-0/portage/make.conf b/aa000-0/portage/make.conf index f45cbcc..f0d9851 100644 --- a/aa000-0/portage/make.conf +++ b/aa000-0/portage/make.conf @@ -4,7 +4,7 @@ # Copyright 2022 Jake Winters # SPDX-License-Identifier: BSD-3-Clause -# Version: 16.0.0-alpha.2+46 +# Version: 16.0.0-alpha.3+47 # System @@ -36,7 +36,7 @@ PORTAGE_RSYNC_EXTRA_OPTS="--progress --verbose" # Flags ## Hardening flags -C_SEC="-fcf-protection=full -fstack-clash-protection -fstack-protector-strong -ftrivial-auto-var-init=zero -fwrapv" +C_SEC="-fcf-protection=full -fstack-clash-protection -fstack-protector-strong -ftrapv -ftrivial-auto-var-init=zero" LD_SEC="-Wl,-z,defs -Wl,-z,now -Wl,-z,relro" ## Compiler flags CFLAGS="-flto=thin -march=znver3 -mtune=znver3 --optimize=2 -pipe ${C_SEC}"