mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-10-25 18:40:18 -04: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:
parent
c8f32f9f25
commit
55310050a1
1 changed files with 1 additions and 1 deletions
2
Makefile
2
Makefile
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue