https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118221
--- Comment #4 from Trampas Stern <trampas at gmail dot com> --- Created attachment 59991 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=59991&action=edit sample makefile project demonstrating the issue