[lto] fix building with Clang under Linux #2523

Closed
DraVee wants to merge 2 commits from DraVee:lto/enable-gobally into master

2 commits

Author SHA1 Message Date
f1d1757d41
[lto] Set CMP0069 to force optimizations and give errors if the compiler does not know
All checks were successful
eden-license / license-header (pull_request) Successful in 21s
https://cmake.org/cmake/help/latest/policy/CMP0069.html

Signed-off-by: Caio Oliveira <caiooliveirafarias0@gmail.com>
2025-09-25 11:38:36 -03:00
df29466cbb
[lto] fix building with Clang under Ubutnu
All checks were successful
eden-license / license-header (pull_request) Successful in 23s
* based off: https://stackoverflow.com/questions/73011966/unable-to-compile-c-program-with-clang-14

Signed-off-by: Caio Oliveira <caiooliveirafarias0@gmail.com>
2025-09-25 11:30:59 -03:00