fink/fink — pull request #111 by danielj7 (2014-09-10 00:57:01+00:00)
Title: Remove -Wno-error=unused-command-line-argument-hard-error-in-future usin...

...g clang 6+

The -Wno-error=unused-command-line-argument-hard-error-in-future flag is no longer supported or necessary in clang 6 so only add it for clang 5. Also simplify the clang version checking code since bash doesn't let one really compare version numbers in the form of "x.y.z". Only compare "x" since that's all we need.