rust-lang/rust — pull request #17231 by pnkfelix (2014-09-13 09:12:57+00:00)
Title: Detect whether cc (the linker) is gcc or clang.

Detect whether cc (the linker) is gcc or clang.

Use this information to drive which options are added to the `cc`
command line arguments.

As a drive-by, fix an english grammar mistake in a comment.

This is meant to be, in part, a more robust version of PR #17192.

Fix #17214.