Switch optimize compiler flag from short-form to long-form to comply with non-interactive code using long-form in configuration files.
This commit is contained in:
parent
14fa1980aa
commit
d3eeea1ee2
6
desktop/portage/env/nolto.conf
vendored
6
desktop/portage/env/nolto.conf
vendored
@ -4,7 +4,7 @@
|
||||
# Copyright 2023 Jake Winters
|
||||
# SPDX-License-Identifier: BSD-3-Clause-Clear
|
||||
|
||||
# Version: 3.0.0.4
|
||||
# Version: 3.0.1.5
|
||||
|
||||
|
||||
# Flags
|
||||
@ -12,8 +12,8 @@
|
||||
C_SEC="-fstack-clash-protection -fstack-protector-strong -ftrivial-auto-var-init=zero -enable-trivial-auto-var-init-zero-knowing-it-will-be-removed-from-clang -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}"
|
||||
CFLAGS="-march=znver3 -mtune=znver3 --optimize=2 -pipe ${C_SEC}"
|
||||
CXXFLAGS="-march=znver3 -mtune=znver3 --optimize=2 -pipe ${C_SEC}"
|
||||
RUSTFLAGS="-C debuginfo=0 -C opt-level=2 -C target-cpu=znver3"
|
||||
## Linker flags
|
||||
LDFLAGS="-Wl,-O2 -Wl,--strip-all ${LD_SEC}"
|
||||
|
Loading…
x
Reference in New Issue
Block a user