mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-10-19 16:16:48 +00:00
Preserve CPPFLAGS in release builds
- Append -DNDEBUG to existing CPPFLAGS in the release target. - Keep caller-provided build flags for Debian packaging.
This commit is contained in:
committed by
trapexit
parent
c8f32f9f25
commit
12ac368e8b
@@ -369,7 +369,7 @@ endef
|
||||
.PHONY: release-amd64 release-arm64 release-armhf release-riscv64
|
||||
.PHONY: release-sample release-static release-tarball release-installer
|
||||
release:
|
||||
$(MAKE) RELEASE=1 CPPFLAGS=-DNDEBUG all
|
||||
$(MAKE) RELEASE=1 CPPFLAGS="$(CPPFLAGS) -DNDEBUG" all
|
||||
release-all:
|
||||
$(call build_release,"all")
|
||||
release-sample:
|
||||
|
||||
Reference in New Issue
Block a user