This is done for the sake of Yosemite, which does not have gcc, and yet this change is also compatible with Linux.
Problems are worked around by using older gcc wrapper for gnat bootstrap. (from ca441636f1^) I tried nicer solutions first, but I was unable to fix all problems for hours.