package: $(architectures)
mac:
-override architectures := x86_64-apple-darwin aarch64-apple-darwin
+ @$(eval mac_architectures := x86_64-apple-darwin aarch64-apple-darwin)
ifeq ($(tag),)
- $(MAKE) -e profile=release -e architectures='$(architectures)' -e channel=unstable package
+ $(MAKE) -e profile=release -e architectures='$(mac_architectures)' -e channel=unstable package
else
- $(MAKE) -e profile=release -e architectures='$(architectures)' -e channel=$(tag) package
+ $(MAKE) -e profile=release -e architectures='$(mac_architectures)' -e channel=$(tag) package
endif