aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMax Howell2012-08-29 22:37:57 -0400
committerMax Howell2012-08-29 22:43:52 -0400
commit1a9c2917a4c6140dd10111b3da48fb041edde408 (patch)
treefc55beb59bdf810c49fce13da6f4b904fd102f5b /Library
parentfc9b18c291079562497da1f88a890852546e5aae (diff)
downloadbrew-1a9c2917a4c6140dd10111b3da48fb041edde408.tar.bz2
Some flags must be specified -Wl,foo
Finishes fixing qrupdate. And maybe others.
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 2d7e6ca80..062ffc105 100755
--- a/Library/ENV/4.3/cc
+++ b/Library/ENV/4.3/cc
@@ -95,6 +95,10 @@ class Cmd
'-pedantic', '-pedantic-errors'
when /^-W.*/
args << arg if arg =~ /^-Wl,/
+ when '-macosx_version_min', '-dylib_install_name'
+ args << "-Wl,#{arg},#{whittler.next}"
+ when '-dylib'
+ args << "-Wl,#{arg}"
when /^-I(.+)/
# it is okay to add a space after the -I; so let's support it
path = $1.chuzzle || whittler.next