https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67363
--- Comment #9 from İsmail Dönmez <ismail at i10z dot com> --- Looks like on MinGW putenv has to be used instead of setenv/unsetenv, dmalcolm can you please have a look? I know MinGW is a Tier-NotSupported platform but it was at least compiling before this change.