git: kernel - Default kernel build to -O2

Matthew Dillon dillon at crater.dragonflybsd.org
Mon Feb 6 23:15:10 PST 2017


commit dfad150f2c78b494a8ad9908840723804d5034cd
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Mon Feb 6 19:07:43 2017 -0800

    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.

Summary of changes:
 sys/conf/kern.pre.mk                | 2 +-
 sys/conf/kmod.mk                    | 4 +++-
 sys/platform/pc64/conf/kern.mk      | 5 ++++-
 sys/platform/vkernel64/conf/kern.mk | 3 ++-
 4 files changed, 10 insertions(+), 4 deletions(-)

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


-- 
DragonFly BSD source repository



More information about the Commits mailing list