From 1a9c2917a4c6140dd10111b3da48fb041edde408 Mon Sep 17 00:00:00 2001 From: Max Howell Date: Wed, 29 Aug 2012 22:37:57 -0400 Subject: [PATCH] Some flags must be specified -Wl,foo Finishes fixing qrupdate. And maybe others. --- Library/ENV/4.3/cc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Library/ENV/4.3/cc b/Library/ENV/4.3/cc index 2d7e6ca801..062ffc1051 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