Remove duplicate C_SEC flags

This commit is contained in:
inference 2023-10-15 09:27:53 +01:00
parent 33483a5138
commit 56f1704f19
Signed by: inference
SSH Key Fingerprint: SHA256:FtEVfx1CmTKMy40VwZvF4k+3TC+QhCWy+EmPRg50Nnc

View File

@ -4,12 +4,10 @@
# Copyright 2023 Jake Winters
# SPDX-License-Identifier: BSD-3-Clause
# Version: 5.0.0-alpha.3+11
# Version: 5.0.0-alpha.4+12
# Flags
## Hardening flags
C_SEC="-fcf-protection=full -fstack-clash-protection -fstack-protector-strong -ftrivial-auto-var-init=zero -fwrapv"
## Compiler flags
CFLAGS="-march=znver3 -mtune=znver3 -O2 -pipe ${C_SEC}"
CXXFLAGS="-march=znver3 -mtune=znver3 -O2 -pipe ${C_SEC}"