svn commit: r365336 - head/sys/modules/zfs

Mark Johnston markj at FreeBSD.org
Fri Sep 4 18:55:04 UTC 2020


Author: markj
Date: Fri Sep  4 18:55:03 2020
New Revision: 365336
URL: https://svnweb.freebsd.org/changeset/base/365336

Log:
  Stop setting DEBUG_FLAGS in the zfs.ko Makefile.
  
  Rely on system settings to decide whether or not to build with debug
  symbols and extract them to a separate file.
  
  Reported and tested by:	rm

Modified:
  head/sys/modules/zfs/Makefile

Modified: head/sys/modules/zfs/Makefile
==============================================================================
--- head/sys/modules/zfs/Makefile	Fri Sep  4 18:29:59 2020	(r365335)
+++ head/sys/modules/zfs/Makefile	Fri Sep  4 18:55:03 2020	(r365336)
@@ -44,8 +44,6 @@ CFLAGS+= -DDEBUG_VFS_LOCKS
 CFLAGS+=	 -fprofile-arcs -ftest-coverage
 .endif
 
-DEBUG_FLAGS=-g
-
 .if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "powerpc" || \
 	${MACHINE_ARCH} == "powerpcspe" || ${MACHINE_ARCH} == "arm"
 CFLAGS+= -DBITS_PER_LONG=32


More information about the svn-src-head mailing list