https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117854
--- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> --- One way of fixing this for POSIX only is to make gen_copyright_sh a function which gets included in both (via the `.` command) and then call that function instead of doing source of the file.