kernel - Default kernel build to -O2
authorMatthew Dillon <dillon@apollo.backplane.com>
Tue, 7 Feb 2017 03:07:43 +0000 (19:07 -0800)
committerMatthew Dillon <dillon@apollo.backplane.com>
Tue, 7 Feb 2017 03:07:43 +0000 (19:07 -0800)
commitdfad150f2c78b494a8ad9908840723804d5034cd
treea7e76b9f90fcd59ee13be8847f7481068611597d
parentf6a440a9b21bd00d29047a7cae7ec1a721573909
kernel - Default kernel build to -O2

* Default the kernel build to -O2, primarily so that code generated
  from __predict_*() attributes is more optimal.  There's slightly
  more code bloat, but I think its time we move to this as a default.
sys/conf/kern.pre.mk
sys/conf/kmod.mk
sys/platform/pc64/conf/kern.mk
sys/platform/vkernel64/conf/kern.mk