diff options
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/clang-format.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Library/Formula/clang-format.rb b/Library/Formula/clang-format.rb index 391c8503b..71b6b3f1b 100644 --- a/Library/Formula/clang-format.rb +++ b/Library/Formula/clang-format.rb @@ -26,6 +26,10 @@ class ClangFormat < Formula depends_on "ninja" => :build depends_on "subversion" => :build + # It'll link to GCC's libatomic in this case so need to manually specify + # the dependency for runtime linking. + depends_on "gcc" if MacOS.version <= :mountain_lion + fails_with :clang do build 503 cause "Host Clang must be able to find libstdc++4.7 or newer!" |
