aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2014-03-21 13:00:15 -0500
committerJack Nagel2014-03-21 13:01:55 -0500
commite8d59688e98430fda9f41c9ec0d98cd1718a23b3 (patch)
treeb45520a5f879f7d227abbffa2bc9beed2fd669c5 /Library
parent0d8b7deb45eab0e3f15eb6543f3c5f687f1f60da (diff)
downloadhomebrew-e8d59688e98430fda9f41c9ec0d98cd1718a23b3.tar.bz2
More flags clang dislikes
Diffstat (limited to 'Library')
-rwxr-xr-xLibrary/ENV/4.3/cc4
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