From ba26e6621bb8336ae370277c352494daee27f10d Mon Sep 17 00:00:00 2001 From: Yorhel <git@yorhel.nl> Date: Sat, 1 Jan 2022 15:49:48 +0100 Subject: [PATCH] Makefile: Add ZIG_FLAGS variable Fixes #185 --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 0761fb7..a226488 100644 --- a/Makefile +++ b/Makefile @@ -7,11 +7,12 @@ PREFIX ?= /usr/local BINDIR ?= ${PREFIX}/bin MANDIR ?= ${PREFIX}/share/man/man1 +ZIG_FLAGS ?= -Drelease-fast NCDU_VERSION=$(shell grep 'program_version = "' src/main.zig | sed -e 's/^.*"\(.\+\)".*$$/\1/') release: - zig build -Drelease-fast + zig build ${ZIG_FLAGS} debug: zig build -- GitLab