]> git.r.bdr.sh - rbdr/lyricli/commitdiff
Adjust mac architectures
authorRuben Beltran del Rio <redacted>
Sat, 16 Mar 2024 16:17:09 +0000 (17:17 +0100)
committerRuben Beltran del Rio <redacted>
Sat, 16 Mar 2024 16:17:09 +0000 (17:17 +0100)
Makefile

index e2c1648d4ef77a21e333ea81ca19d3f1d5a9f524..50cebd1d4a6cdb000e9b50534b48152c26f405e8 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -55,11 +55,11 @@ tar: build
 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