chiark / gitweb /
Prep v233.4: Update LTO usage to be more convenient.
authorSven Eden <yamakuzure@gmx.net>
Fri, 21 Jul 2017 11:37:31 +0000 (13:37 +0200)
committerSven Eden <yamakuzure@gmx.net>
Wed, 26 Jul 2017 08:16:50 +0000 (10:16 +0200)
commit7e17c59e6b33219e1d478a74852a64d4c726d76b
tree4d222733fc7c2044e9de1692c2633c79e33d625e
parent39584e4d26d7ba7d144d9c1872fcf2045069c5e2
Prep v233.4: Update LTO usage to be more convenient.

- Add -fuse-linker-plugin to work around odd compiler and binutils
  installs. Should fix most "plugin needed to handle lto object"
  issues.
- Read back whether LTO really has been enabled or not, so we can
  display a status line at the end of configure.
- Only enforce gold linker if LTO has been enabled.

These checks can still be disabled with the --disable-lto option,
which will make configure to skip all checks regarding LTO.
configure.ac