diff options
author | Martin Pieuchot <mpi@cvs.openbsd.org> | 2016-11-29 09:08:35 +0000 |
---|---|---|
committer | Martin Pieuchot <mpi@cvs.openbsd.org> | 2016-11-29 09:08:35 +0000 |
commit | 1fd678dbf11f20d49fd1a02f58dfb28f4508e4a6 (patch) | |
tree | 978ea697c116a4eaca8b13b860ada07c7c67f9b9 /sys/conf/GENERIC | |
parent | 90e2188c73019eabdcd112bb8cd8ef50268d03ab (diff) |
Build kernel with DEBUG=-g by default.
This will allow us to extract type informations from DWARF2 sections. It
also makes developer life easier as debug information are now included in
every object.
Resulting kernels will be stripped using strip(1) instead of ld(1).
Kernel build time increases by approximately 10%. However it is still
possible to disable this by defining DEBUG="".
ok kettenis@, bluhm@, natano@, jasper@, reyk@, deraadt@
Diffstat (limited to 'sys/conf/GENERIC')
-rw-r--r-- | sys/conf/GENERIC | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/conf/GENERIC b/sys/conf/GENERIC index b1ce195f70c..14732076e9b 100644 --- a/sys/conf/GENERIC +++ b/sys/conf/GENERIC @@ -1,4 +1,4 @@ -# $OpenBSD: GENERIC,v 1.235 2016/09/18 14:28:05 deraadt Exp $ +# $OpenBSD: GENERIC,v 1.236 2016/11/29 09:08:34 mpi Exp $ # # Machine-independent option; used by all architectures for their # GENERIC kernel @@ -7,7 +7,7 @@ option DDB # in-kernel debugger #option DDBPROF # ddb(4) based profiling #option DDBCTF # DDB support for CTF #option DDB_SAFE_CONSOLE # allow break into ddb during boot -#makeoptions DEBUG="-g" # compile full symbol table +#makeoptions DEBUG="" # do not compile full symbol table #makeoptions PROF="-pg" # build profiled kernel #option GPROF # kernel profiling, kgmon(8) option DIAGNOSTIC # internal consistency checks |