Commit d6f97396 authored by Logan Chien's avatar Logan Chien
Browse files

Pass -lLTO after gold-plugin.o.

We have to pass -lLTO after gold-plugin.o, otherwise it will
be ignored when --as-needed is used as well.  This is
backported from the upstream r162652.

------------------------------------------------------------
commit a16c2e34
Author: Rafael Espindola <rafael.espindola@gmail.com>
Date:   Mon Aug 27 03:03:07 2012 +0000

    Pass -lLTO after gold-plugin.o so that it gets used in
    systems that default --as-needed.  Patch by Felix Geyer.
    Fixes pr13262.

    git-svn-id:
    https://llvm.org/svn/llvm-project/llvm/trunk@162652
    91177308-0d3
------------------------------------------------------------

Change-Id: I3d90a9cb51aa64b036026b71ddf544aa8d7b3768
parent 2e116c17
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment