mirror of
https://github.com/MorizzG/portage-conf.git
synced 2025-12-06 01:12:42 +00:00
lldb: unmask 20.1.4 and add lto werror flags
This commit is contained in:
parent
5c0633bfa4
commit
f304a7ab96
3 changed files with 10 additions and 0 deletions
6
env/lto-werror
vendored
Normal file
6
env/lto-werror
vendored
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
LTO_WERROR_FLAGS="-Werror=odr -Werror=strict-aliasing" # -Werror=lto-type-mismatch
|
||||
|
||||
CFLAGS="${CFLAGS} ${LTO_WERROR_FLAGS}"
|
||||
CXXFLAGS="${CXXFLAGS} ${LTO_WERROR_FLAGS}"
|
||||
FCFLAGS="${FCFLAGS} ${LTO_WERROR_FLAGS}"
|
||||
FFLAGS="${FFLAGS} ${LTO_WERROR_FLAGS}"
|
||||
Loading…
Add table
Add a link
Reference in a new issue