From b34cb5f8b4b4a6dcf45f10822fe033c9c0ea9149 Mon Sep 17 00:00:00 2001 From: Quinten Kock Date: Sat, 26 Dec 2020 02:17:10 +0100 Subject: [PATCH] support custom zig toolchains --- kernel/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/kernel/Makefile b/kernel/Makefile index 77fc836..3e593c0 100644 --- a/kernel/Makefile +++ b/kernel/Makefile @@ -1,6 +1,8 @@ +ZIG ?= zig + .PHONY: x86_64 i386 clean x86_64 i386: - zig build -Dtarget="$@" --prefix . $(ZIGFLAGS) + $(ZIG) build -Dtarget="$@" --prefix . $(ZIGFLAGS) clean: rm -rf bin zig-cache