diff options
| author | Jack Nagel | 2014-03-21 13:00:15 -0500 |
|---|---|---|
| committer | Jack Nagel | 2014-03-21 13:01:55 -0500 |
| commit | 8d723ff87716d1cd69f9e0009e993007de0f0703 (patch) | |
| tree | 36ab68332f101d9f4b5d7930c619e85b2a1ac15b /Library | |
| parent | 58456a5469287314ab38de0f652935b57e210107 (diff) | |
| download | brew-8d723ff87716d1cd69f9e0009e993007de0f0703.tar.bz2 | |
More flags clang dislikes
Diffstat (limited to 'Library')
| -rwxr-xr-x | Library/ENV/4.3/cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Library/ENV/4.3/cc b/Library/ENV/4.3/cc index 92fb17277..1f8b171a4 100755 --- a/Library/ENV/4.3/cc +++ b/Library/ENV/4.3/cc @@ -128,6 +128,10 @@ class Cmd args << arg if arg =~ /^-W[alp],/ or arg =~ /^-Wno-/ when '-macosx_version_min', '-dylib_install_name' args << "-Wl,#{arg},#{whittler.next}" + when '-multiply_definedsuppress' + args << "-Wl,-multiply_defined,suppress" + when '-undefineddynamic_lookup' + args << "-Wl,-undefined,dynamic_lookup" when /^-isysroot/ # We set the sysroot whittler.next |
