From 17bff9a2dc8fac0724f3957abc5af1ff3403fb3f Mon Sep 17 00:00:00 2001 From: Jaromil Date: Tue, 8 Oct 2024 17:22:44 +0200 Subject: [PATCH] fix: musl linux target to accept COMPILER env --- build/musl-linux.mk | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/build/musl-linux.mk b/build/musl-linux.mk index 273f82c61..9be439092 100644 --- a/build/musl-linux.mk +++ b/build/musl-linux.mk @@ -1,7 +1,7 @@ ## Initialize build defaults include build/init.mk -COMPILER := musl-gcc +COMPILER ?= musl-gcc ## Additional dependencies BUILD_DEPS += tinycc @@ -20,7 +20,9 @@ endif # activate CCACHE etc. include build/plugins.mk -all: ${BUILD_DEPS} zenroom zencode-exec zencc +all: deps zenroom zencode-exec zencc + +deps: ${BUILD_DEPS} cli_sources := src/cli-zenroom.o src/repl.o zenroom: ${ZEN_SOURCES} ${cli_sources}