]> git.ipfire.org Git - thirdparty/ccache.git/commit
fix: LTO is disabled if `-fno-lto` is used (#1700)
authorKristian Sloth Lauszus <lauszus@gmail.com>
Sat, 14 Mar 2026 09:50:26 +0000 (10:50 +0100)
committerGitHub <noreply@github.com>
Sat, 14 Mar 2026 09:50:26 +0000 (10:50 +0100)
commitb7828d2d2be2ce437fe1d9fa2bd45d8a045be66a
tree0a307775ff1654bb141a2564ad7f837a4feb04be
parent190066b4eb8b7a1b1cda2fecdf5a6b70a1da703b
fix: LTO is disabled if `-fno-lto` is used (#1700)

If `-flto` is followered by `-fno-lto`, then LTO will be disabled

On the other hand if `-fno-lto` is followered by `-flto`, then LTO will be enabled
src/ccache/argprocessing.cpp
test/suites/direct.bash