https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70783
--- Comment #4 from Andreas.G.JHOSS <andreas.g.jhoss at gmx dot de> --- Maybe my first post was not clear enough. I have done exactly this. Dumped the specs file and then did some small changes and added this substitue rule I have verified that I put it to the correct place. And this specs file will be only correct done when I call the gcc -with --specs. And it was working with older gcc versions