]> granicus.if.org Git - clang/commitdiff
Pass '-undefined- to the linker
authorAnders Carlsson <andersca@mac.com>
Mon, 5 Jan 2009 01:24:39 +0000 (01:24 +0000)
committerAnders Carlsson <andersca@mac.com>
Mon, 5 Jan 2009 01:24:39 +0000 (01:24 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@61663 91177308-0d34-0410-b5e6-96231b3b80d8

utils/ccc

index 6e423691ecda557e293833ff8fc2d704c07dfbd3..4142ee703cf3e98d03bd0afd7473a2e52d123f47 100755 (executable)
--- a/utils/ccc
+++ b/utils/ccc
@@ -280,7 +280,7 @@ def main(args):
                    '-e', '-install_name',
                    '-unexported_symbols_list', '-exported_symbols_list', 
                    '-compatibility_version', '-current_version', '-init',
-                   '-seg1addr', '-dylib_file', '-Xlinker'):
+                   '-seg1addr', '-dylib_file', '-Xlinker', '-undefined'):
             link_opts.append(arg)
             link_opts.append(args[i+1])
             i += 1