[cfe-commits] r148953 - /cfe/trunk/lib/Driver/ToolChains.cpp

Joerg Sonnenberger joerg at britannica.bec.de
Wed Jan 25 07:38:46 PST 2012


On Wed, Jan 25, 2012 at 02:46:59PM +0100, Dimitry Andric wrote:
> Ergo, we really need to figure out what the 'target' architecture is,
> and base the decision to use /usr/lib or /usr/lib32 on that.  Basically,
> always use /usr/lib, unless arch==i386.

Attached patch allows that and fixes a related regression for the
$triple-$tool handling. It's a bit longer due to the change in the
constructor interface.

Look for "=/usr/lib/i386" for NetBSD's handling of the equivalent.

Joerg
-------------- next part --------------
A non-text attachment was scrubbed...
Name: toolchain-revamp.diff
Type: text/x-diff
Size: 24421 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20120125/359d107c/attachment.diff>


More information about the cfe-commits mailing list