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
This commit is contained in:
Mark Johnston 2020-09-04 18:55:03 +00:00
parent a16e001bd9
commit b6c3b1a92d
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=365336

View File

@ -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