mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-13 16:06:59 +02:00
eclass/flag-o-matic: Sync with Gentoo
It's from Gentoo commit b5a4bfb180d002c29b35bfc267e47857ba481fb8.
This commit is contained in:
parent
08f2bbd14f
commit
0bc3a902c6
@ -47,11 +47,11 @@ setup-allowed-flags() {
|
||||
# Note: shell globs and character lists are allowed
|
||||
_setup-allowed-flags() {
|
||||
ALLOWED_FLAGS=(
|
||||
-pipe -O '-O[12sg]' '-mcpu=*' '-march=*' '-mtune=*'
|
||||
-pipe -O '-O[123szg]' '-mcpu=*' '-march=*' '-mtune=*'
|
||||
-flto '-flto=*' -fno-lto
|
||||
|
||||
# Hardening flags
|
||||
'-fstack-protector*'
|
||||
'-fstack-check*' -fno-stack-check
|
||||
-fstack-clash-protection
|
||||
'-fcf-protection=*'
|
||||
-fbounds-check -fbounds-checking
|
||||
|
Loading…
Reference in New Issue
Block a user