mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-03-10 12:26:27 +03:00
Fix --enable-invariants on FreeBSD
The make symbols were never getting forwarded to the correct make subprocess. As far as I can tell, this has never worked. Either that, or something has changed in the behavior of make. Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Alan Somers <asomers@gmail.com> Closes #18131
This commit is contained in:
parent
09e4e01e93
commit
3fffe4e707
@ -19,8 +19,8 @@ check:
|
||||
cppcheck cppcheck-Linux cppcheck-FreeBSD
|
||||
|
||||
# For FreeBSD, use debug options from ./configure if not overridden.
|
||||
export WITH_DEBUG ?= @WITH_DEBUG@
|
||||
export WITH_INVARIANTS ?= @WITH_INVARIANTS@
|
||||
WITH_DEBUG ?= @WITH_DEBUG@
|
||||
WITH_INVARIANTS ?= @WITH_INVARIANTS@
|
||||
|
||||
# Filter out options that FreeBSD make doesn't understand
|
||||
getflags = ( \
|
||||
@ -43,6 +43,7 @@ done; \
|
||||
echo $$fmakeflags \
|
||||
)
|
||||
FMAKEFLAGS = -C @abs_srcdir@ -f Makefile.bsd $(shell $(getflags))
|
||||
FMAKEFLAGS += WITH_DEBUG=$(WITH_DEBUG) WITH_INVARIANTS=$(WITH_INVARIANTS)
|
||||
|
||||
ifneq (@abs_srcdir@,@abs_builddir@)
|
||||
FMAKEFLAGS += MAKEOBJDIR=@abs_builddir@
|
||||
|
||||
Loading…
Reference in New Issue
Block a user