Remove duplicate LD_SEC flags
This commit is contained in:
parent
8a34c3db5a
commit
33483a5138
3
aa000-0/portage/env/gcc-nolto.conf
vendored
3
aa000-0/portage/env/gcc-nolto.conf
vendored
@ -4,13 +4,12 @@
|
||||
# Copyright 2022 Jake Winters
|
||||
# SPDX-License-Identifier: BSD-3-Clause
|
||||
|
||||
# Version: 10.0.0-alpha.2+18
|
||||
# Version: 10.0.0-alpha.3+19
|
||||
|
||||
|
||||
# Flags
|
||||
# Hardening flags
|
||||
C_SEC="-fcf-protection=full -fstack-clash-protection -fstack-protector-strong -ftrivial-auto-var-init=zero -fwrapv"
|
||||
LD_SEC="-Wl,-z,defs -Wl,-z,now -Wl,-z,relro"
|
||||
## Compiler flags
|
||||
CFLAGS="-march=znver3 -mtune=znver3 -O2 -pipe ${C_SEC}"
|
||||
CXXFLAGS="-march=znver3 -mtune=znver3 -O2 -pipe ${C_SEC}"
|
||||
|
3
aa000-0/portage/env/gcc.conf
vendored
3
aa000-0/portage/env/gcc.conf
vendored
@ -4,13 +4,12 @@
|
||||
# Copyright 2023 Jake Winters
|
||||
# SPDX-License-Identifier: BSD-3-Clause
|
||||
|
||||
# Version: 3.0.0-alpha.2+6
|
||||
# Version: 3.0.0-alpha.3+7
|
||||
|
||||
|
||||
# Flags
|
||||
# Hardening flags
|
||||
C_SEC="-fcf-protection=full -fstack-clash-protection -fstack-protector-strong -ftrivial-auto-var-init=zero -fwrapv"
|
||||
LD_SEC="-Wl,-z,defs -Wl,-z,now -Wl,-z,relro"
|
||||
## Compiler flags
|
||||
CFLAGS="-flto=4 -march=znver3 -mtune=znver3 -O2 -pipe ${C_SEC}"
|
||||
CXXFLAGS="-flto=4 -march=znver3 -mtune=znver3 -O2 -pipe ${C_SEC}"
|
||||
|
3
aa000-0/portage/env/nolto.conf
vendored
3
aa000-0/portage/env/nolto.conf
vendored
@ -4,13 +4,12 @@
|
||||
# Copyright 2023 Jake Winters
|
||||
# SPDX-License-Identifier: BSD-3-Clause
|
||||
|
||||
# Version: 5.0.0-alpha.2+10
|
||||
# Version: 5.0.0-alpha.3+11
|
||||
|
||||
|
||||
# Flags
|
||||
## Hardening flags
|
||||
C_SEC="-fcf-protection=full -fstack-clash-protection -fstack-protector-strong -ftrivial-auto-var-init=zero -fwrapv"
|
||||
LD_SEC="-Wl,-z,defs -Wl,-z,now -Wl,-z,relro"
|
||||
## Compiler flags
|
||||
CFLAGS="-march=znver3 -mtune=znver3 -O2 -pipe ${C_SEC}"
|
||||
CXXFLAGS="-march=znver3 -mtune=znver3 -O2 -pipe ${C_SEC}"
|
||||
|
Loading…
x
Reference in New Issue
Block a user