https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123504
--- Comment #6 from Peter Damianov <peter0x44 at disroot dot org> --- Unfortunately windres doesn't do any sort of file format detection by looking at the binaries. So removing -J from the spec won't work. There's no way to deal with this aside from removing the spec entirely.
