Re: GCC debug flags cleanup

看板FB_current作者時間14年前 (2011/12/24 05:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串4/5 (看更多)
On Thu, Dec 22, 2011 at 6:52 AM, Erik Cederstrand <erik@cederstrand.dk> wro= te: > Hi, > > I've created a patch that cleans up FreeBSD Makefiles that unconditionall= y set the -g flag for GCC. The motivation for this is that it should be pos= sible to add or remove this flag globally via e.g. CFLAGS (it's part of my = quest to produce deterministic builds). > > I'm not very familiar with GCC or the build infrastructure, so I'd be gra= teful if someone would review it and possibly commit. > > http://dev.affect-it.dk/gcc_debug_flags.diff Generally include your patches inline, it makes reviewing them easier. Index: sys/amd64/conf/GENERIC =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- sys/amd64/conf/GENERIC (revision 228312) +++ sys/amd64/conf/GENERIC (working copy) @@ -21,7 +21,7 @@ .... -makeoptions DEBUG=3D-g # Build kernel with gdb(1) debug symbols .... This is intentionally left in the config files. This is where the ..symbols file comes from in /boot/kernel/. --=20 Eitan Adler _______________________________________________ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
文章代碼(AID): #1EzFDIUX (FB_current)
文章代碼(AID): #1EzFDIUX (FB_current)