Searched hist:"3 ad1a0916972470ffc3f0a896f1719428f85f3a8" (Results 1 – 4 of 4) sorted by relevance
/freebsd/sys/conf/ |
H A D | kern.mk | diff 3ad1a0916972470ffc3f0a896f1719428f85f3a8 Tue Mar 25 23:08:31 CET 2014 Warner Losh <imp@FreeBSD.org> Rather than require a makeoptions DEBUG to get debug correct, add it in kern.mk, but only if we're using clang. While this option is supported by both clang and gcc, in the future there may be changes to clang which change the defaults that require a tweak to build our kernel such that other tools in our tree will work. Set a good example by forcing -gdwarf-2 only for clang builds, and only if the user hasn't specified another dwarf level already. Update UPDATING to reflect the changed state of affairs. This also keeps us from having to update all the ARM kernels to add this, and also keeps us from in the future having to update all the MIPS kernels and is one less place the user will have to know to do something special for clang and one less thing developers will need to do when moving an architecture to clang.
Reviewed by: ian@ MFC after: 1 week
|
/freebsd/sys/i386/conf/ |
H A D | GENERIC | diff 3ad1a0916972470ffc3f0a896f1719428f85f3a8 Tue Mar 25 23:08:31 CET 2014 Warner Losh <imp@FreeBSD.org> Rather than require a makeoptions DEBUG to get debug correct, add it in kern.mk, but only if we're using clang. While this option is supported by both clang and gcc, in the future there may be changes to clang which change the defaults that require a tweak to build our kernel such that other tools in our tree will work. Set a good example by forcing -gdwarf-2 only for clang builds, and only if the user hasn't specified another dwarf level already. Update UPDATING to reflect the changed state of affairs. This also keeps us from having to update all the ARM kernels to add this, and also keeps us from in the future having to update all the MIPS kernels and is one less place the user will have to know to do something special for clang and one less thing developers will need to do when moving an architecture to clang.
Reviewed by: ian@ MFC after: 1 week
|
/freebsd/sys/amd64/conf/ |
H A D | GENERIC | diff 3ad1a0916972470ffc3f0a896f1719428f85f3a8 Tue Mar 25 23:08:31 CET 2014 Warner Losh <imp@FreeBSD.org> Rather than require a makeoptions DEBUG to get debug correct, add it in kern.mk, but only if we're using clang. While this option is supported by both clang and gcc, in the future there may be changes to clang which change the defaults that require a tweak to build our kernel such that other tools in our tree will work. Set a good example by forcing -gdwarf-2 only for clang builds, and only if the user hasn't specified another dwarf level already. Update UPDATING to reflect the changed state of affairs. This also keeps us from having to update all the ARM kernels to add this, and also keeps us from in the future having to update all the MIPS kernels and is one less place the user will have to know to do something special for clang and one less thing developers will need to do when moving an architecture to clang.
Reviewed by: ian@ MFC after: 1 week
|
/freebsd/ |
H A D | UPDATING | diff 3ad1a0916972470ffc3f0a896f1719428f85f3a8 Tue Mar 25 23:08:31 CET 2014 Warner Losh <imp@FreeBSD.org> Rather than require a makeoptions DEBUG to get debug correct, add it in kern.mk, but only if we're using clang. While this option is supported by both clang and gcc, in the future there may be changes to clang which change the defaults that require a tweak to build our kernel such that other tools in our tree will work. Set a good example by forcing -gdwarf-2 only for clang builds, and only if the user hasn't specified another dwarf level already. Update UPDATING to reflect the changed state of affairs. This also keeps us from having to update all the ARM kernels to add this, and also keeps us from in the future having to update all the MIPS kernels and is one less place the user will have to know to do something special for clang and one less thing developers will need to do when moving an architecture to clang.
Reviewed by: ian@ MFC after: 1 week
|