diff options
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 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 |
