diff options
| author | Max Howell | 2012-08-29 22:37:57 -0400 |
|---|---|---|
| committer | Max Howell | 2012-08-29 22:43:52 -0400 |
| commit | 0481473163b2b84fedb8325d9360063c7bf40d74 (patch) | |
| tree | 7f3e3fe54be956d1fc1f35a160c8a3396352f401 | |
| parent | 28d795032a52cd5f0f3a547b067108fe89ca8b57 (diff) | |
| download | homebrew-0481473163b2b84fedb8325d9360063c7bf40d74.tar.bz2 | |
Some flags must be specified -Wl,foo
Finishes fixing qrupdate. And maybe others.
| -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 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 |
