Skip to content

Commit 812807c

Browse files
ci: fix ommision for evaluating ARCH
1 parent 202e767 commit 812807c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,8 @@ endef
5050

5151
# Linux base build template
5252
define linux_build
53-
$(call select_compiler,$(1))
53+
$(eval ARCH := $(1))
54+
$(call select_linux_compiler,$(1))
5455
$(eval BUILD_PATH := $(BUILD_DIR)/linux-$(ARCH)$(2))
5556
$(eval EXTRA_FLAGS := $(3))
5657
$(if $(filter aarch64,$(ARCH)),$(call create_aarch64_toolchain))

0 commit comments

Comments
 (0)