I presume that using -O2 shouldn't be an issue with kfreebsd-10 now that it is using clang (thinking about #718250 et al). Is there any concern about doing this? Some advice would be appreciated (specially from Petr)
Just give it a try and plug/unplug USB keyboard ;-) I expect it will work, as upstream uses contemporary clang. Petr