Compilation: add missing link file options to cache manifest

Also add a standalone test which covers the `-fentry` case. It does this
by performing two reproducible compilations which are identical other
than having different entry points, and checking whether the emitted
binaries are identical (they should *not* be).

Resolves: #23869
8aab222ffbmlugg committed on 6/17/2025, 2:33:50 PMparent561fdd0
5 files changedLine totals unavailable