git: LTO: Use CC for kernel linking.

Rimvydas Jasinskas zrj at
Tue Oct 25 09:18:24 PDT 2016

commit fa8104330967fab6248da216251a4382b39b1dab
Author: zrj <rimvydas.jasinskas at>
Date:   Thu Oct 13 16:01:29 2016 +0300

    LTO: Use CC for kernel linking.
    This allows linker properly get invoked to deal with LTO objects.
    Main differences extra .eh_frame_hdr section and RPATH to /usr/libexec/gcc50.
    Both should be harmless. As for -rpath it is coming from gcc spec files,
    it should not be set for -nostdlib case.
    While there, add missing -Wl,.

Summary of changes:
 sys/conf/                 | 9 +++++----
 sys/conf/                     | 9 ++++++---
 sys/platform/vkernel64/conf/Makefile | 4 ++--
 3 files changed, 13 insertions(+), 9 deletions(-)

DragonFly BSD source repository

More information about the Commits mailing list