From f2e3d81cb41c37910b4fffc81bf1c91424f5792b Mon Sep 17 00:00:00 2001 From: Daniel Dunbar Date: Wed, 21 Jan 2009 17:18:19 +0000 Subject: ccc: Add appropriate file search prefixes when on x86_64 Darwin, and look for crt3.o appropriately. llvm-svn: 62694 --- clang/tools/ccc/ccclib/Tools.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'clang/tools/ccc/ccclib/Tools.py') diff --git a/clang/tools/ccc/ccclib/Tools.py b/clang/tools/ccc/ccclib/Tools.py index ae170d8ac2f..fbf17cb3a73 100644 --- a/clang/tools/ccc/ccclib/Tools.py +++ b/clang/tools/ccc/ccclib/Tools.py @@ -1006,9 +1006,7 @@ class Darwin_X86_LinkTool(Tool): if arglist.getLastArg(arglist.parser.sharedLibgccOption): if not arglist.getLastArg(arglist.parser.m_iphoneosVersionMinOption): if macosxVersion < (10,5): - # FIXME: gcc does a library search for this - # file, this will be be broken currently. - cmd_args.append('crt3.o') + cmd_args.append(self.toolChain.getFilePath('crt3.o')) arglist.addAllArgs(cmd_args, arglist.parser.LOption) -- cgit v1.2.3