The current behavior was introduced in https://github.com/llvm/llvm-project/commit/1628486548420f85b3467026d54663d1516404f5 and simply ignores the options, which will of course not turn on any form of LTO. When they are passed, I think it's sensible to at least turn on full LTO.
This makes clang basically accept all -flto=val values and treat them like -flto=full. I didn't implement anything that checks for only =auto or =jobserver, I'm not sure if that would be the right thing to do.
Thoughts?