https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96092
--- Comment #2 from Martin Liška <marxin at gcc dot gnu.org> --- Apparently we've got a patch in queue that does something similar: +fprofile-prefix-path= +Common·Joined·RejectNegative·Var(profile_prefix_path) +remove·prefix·from·absolute·path·before·manging·name·for·-fprofile-generate=·and·-fprofile-use=.