http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53126
--- Comment #5 from Jeffrey A. Law <law at redhat dot com> 2012-05-02 20:15:23 UTC --- This code should generally follow the logic from gcc.c. We may not need to support all the environment variables that gcc.c handles. But for those we do need to support, the overall structure should look like gcc.c. Jakub's change definitely looks more correct than the current code in gcc-ar to me. I think we should go ahead with it and iterate if further changes are needed.