From 8d723ff87716d1cd69f9e0009e993007de0f0703 Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Fri, 21 Mar 2014 13:00:15 -0500 Subject: [PATCH] More flags clang dislikes --- 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 92fb172771..1f8b171a4e 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