Switch from signed integer overflow wrapping to trapping
This commit is contained in:
parent
3e1d8116d1
commit
305761d4b9
@ -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}"
|
||||
|
Loading…
x
Reference in New Issue
Block a user