lldb: unmask 20.1.4 and add lto werror flags

This commit is contained in:
Moritz Gmeiner 2025-05-15 19:46:40 +02:00
commit f304a7ab96
3 changed files with 10 additions and 0 deletions

6
env/lto-werror vendored Normal file
View 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}"