diff options
author | Daniel Dunbar <daniel@zuster.org> | 2009-01-21 17:18:19 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2009-01-21 17:18:19 +0000 |
commit | 7023082bee46edda32c19306733784a30a8656ab (patch) | |
tree | 3b9faaacd922f721e45ef728448456df0c91806c /tools/ccc/ccclib/Tools.py | |
parent | d0a69696acca62798dfc8b98f97c92bfa7fa0490 (diff) |
ccc: Add appropriate file search prefixes when on x86_64 Darwin, and
look for crt3.o appropriately.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@62694 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/ccc/ccclib/Tools.py')
-rw-r--r-- | tools/ccc/ccclib/Tools.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/tools/ccc/ccclib/Tools.py b/tools/ccc/ccclib/Tools.py index ae170d8ac2..fbf17cb3a7 100644 --- a/tools/ccc/ccclib/Tools.py +++ b/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) |