Add -flto to PR ld/20321 test
authorH.J. Lu <hjl.tools@gmail.com>
Tue, 5 Jul 2016 14:35:52 +0000 (07:35 -0700)
committerH.J. Lu <hjl.tools@gmail.com>
Tue, 5 Jul 2016 14:35:52 +0000 (07:35 -0700)
commit29d7478bc63762606302a0ae0525b22eaf85b47b
tree0551a3e4c9a363dab90dc704d36579de2cd87484
parent647c264cb2c60c90ee2d09edb6bd001ff357306d
Add -flto to PR ld/20321 test

Before GCC 4.9, -flto is required for final LTO link.  Add -flto to PR
ld/20321 test to support older versions of GCC.

* testsuite/ld-plugin/lto.exp: Add -flto to PR ld/20321 test.
ld/ChangeLog
ld/testsuite/ld-plugin/lto.exp