Date: Thu, 29 May 2003 15:23:23 -0700 (PDT) From: Peter Wemm <peter@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 32062 for review Message-ID: <200305292223.h4TMNN60067323@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=32062 Change 32062 by peter@peter_hammer on 2003/05/29 15:22:29 Add -fno-asynchronous-unwind-tables to stop generating the wasteful (since we dont use it yet) dwarf2 unwind tables. Detect DDB and add -fno-omit-frame-pointer if so. I'm not sure that I can really do this, but lets find out. :-) Affected files ... .. //depot/projects/hammer/sys/conf/Makefile.amd64#11 edit .. //depot/projects/hammer/sys/conf/kern.mk#11 edit Differences ... ==== //depot/projects/hammer/sys/conf/Makefile.amd64#11 (text+ko) ==== @@ -31,6 +31,11 @@ .endif .include "$S/conf/kern.pre.mk" +DDB_ENABLED!= grep DDB opt_ddb.h +.if ${DDB_ENABLED} != "" +CFLAGS+= -fno-omit-frame-pointer +.endif + MKMODULESENV+= MACHINE=amd64 %BEFORE_DEPEND ==== //depot/projects/hammer/sys/conf/kern.mk#11 (text+ko) ==== @@ -58,7 +58,8 @@ # .if ${MACHINE_ARCH} == "amd64" CFLAGS+= -mcmodel=kernel -mno-red-zone \ - -mfpmath=387 -mno-sse -mno-sse2 -mno-mmx -mno-3dnow -msoft-float + -mfpmath=387 -mno-sse -mno-sse2 -mno-mmx -mno-3dnow -msoft-float \ + -fno-asynchronous-unwind-tables .endif #
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200305292223.h4TMNN60067323>
