Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 Sep 2020 18:55:04 +0000 (UTC)
From:      Mark Johnston <markj@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r365336 - head/sys/modules/zfs
Message-ID:  <202009041855.084It4oE019951@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202009041855.084It4oE019951>