]> git.proxmox.com Git - mirror_zfs.git/commit
Force --enable-debug on FreeBSD if INVARIANTS is set
authorRich Ercolani <214141+rincebrain@users.noreply.github.com>
Mon, 7 Jun 2021 19:29:27 +0000 (15:29 -0400)
committerGitHub <noreply@github.com>
Mon, 7 Jun 2021 19:29:27 +0000 (13:29 -0600)
commitafb96fa6ee5293bca7e5002b5946938d04ba6d62
treebccd7249ab244aa4123ca4ed89b956aa51cee211
parent86b5f4c121885001a472b2c5acf9cb25c81685c9
Force --enable-debug on FreeBSD if INVARIANTS is set

There's already logic to force INVARIANTS on for building if it's
present in the running kernel; however, not having DEBUG enabled
when DEBUG and INVARIANTS are can cause strange panics.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Ryan Moeller <ryan@iXsystems.com>
Signed-off-by: Rich Ercolani <rincebrain@gmail.com>
Closes #12185
Closes #12163
config/zfs-build.m4