Compare commits

...

2 commits

3 changed files with 11 additions and 1 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}"

View file

@ -14,3 +14,5 @@ llvm-runtimes/compiler-rt-sanitizers:20 ~amd64
llvm-runtimes/openmp ~amd64
llvm-core/lld-toolchain-symlinks:20 ~amd64
=llvm-core/lldb-20.1.4 ~amd64

View file

@ -1,5 +1,5 @@
# */* clang-19 mold
*/* clang-20 mold
*/* clang-20 mold lto-werror
sys-devel/gcc gcc
@ -61,3 +61,5 @@ llvm-core/llvm:18 clang-18
llvm-core/clang:18 clang-18
dev-python/zstandard gcc
llvm-core/lldb lto-werror