https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=240716
--- Comment #5 from s...@bsdmail.com --- In make.conf COMPILER_TYPE= clang CC= /usr/local/bin/clang*0 CXX= /usr/local/bin/clang++*0 CPP= /usr/local/bin/clang-cpp*0 these arguments set the compiler for the whole system, base system and kernel, which is not limited to ports, which makefiles of ports are about. LD= is supposed to set the linker, as CC, CXX and CPP do. XCC, XCXX, XCPP and XLD are specifically about port makefiles, so makefiles about ports can apply to these arguments containing the prefix of X. LD has to do with the base system, and everything else. It's not specific to port makefiles. If LD is not being used, why is it an argument? The linker for everything should be able to be chosen from make.conf, even if the one from base is to be recommended. LD still works for building world and ports, and it did and is still meant to set the linker for the kernel. I believe a lot of bugs will remain hidden, if it is assumed that LD in make.conf sets the actual linker. This is going to hide bugs that may be impeding why the linker for other architectures isn't consistent. It is going to slow down using the fixes similar to those from the base linker that work, to the linkers in ports that don't work for everything. -- You are receiving this mail because: You are the assignee for the bug. _______________________________________________ freebsd-bugs@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-bugs To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"