DragonFlyBSD/src bfd523f — sys/conf kmod.mk
LTO: Pass CFLAGS to compiler for kernel module linking too. Forgot to git add it in fa8104330967fab6248da216251a4382b39b1dab. Linker still could link LTO'ed *.o objects, because ld is invoked by cc with explicitly passed -plugin option that loads the liblto_plugin.so. This only slightly changes how LTO is performed on kernel modules. Note: this will need to be adjusted for clang -flto compatibility when I will update the clangb version in git module. Reported-by: dillon
Delta | File | |
---|---|---|
+8 | -3 | sys/conf/kmod.mk |
+8 | -3 | 1 files |