git: LTO: Use CC for kernel linking.

Rimvydas Jasinskas zrj at crater.dragonflybsd.org
Tue Oct 25 09:18:24 PDT 2016


commit fa8104330967fab6248da216251a4382b39b1dab
Author: zrj <rimvydas.jasinskas at gmail.com>
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/kern.pre.mk                 | 9 +++++----
 sys/conf/kmod.mk                     | 9 ++++++---
 sys/platform/vkernel64/conf/Makefile | 4 ++--
 3 files changed, 13 insertions(+), 9 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/fa8104330967fab6248da216251a4382b39b1dab


-- 
DragonFly BSD source repository



More information about the Commits mailing list