]> Nishi Git Mirror - sp.git/commitdiff
bmakeのチェック sp-1.3.0
author諏訪子 <suwako@076.moe>
Sun, 9 Jun 2024 10:35:24 +0000 (19:35 +0900)
committer諏訪子 <suwako@076.moe>
Sun, 9 Jun 2024 10:35:24 +0000 (19:35 +0900)
Makefile

index 2adb97166a76c8904a752132acc708c708891c60..4dcab7495f44844b5d16264a1d52686bf0a687fb 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,10 @@
 UNAME_S != uname -s
 UNAME_M != uname -m
 
+.if ${UNAME_M} == "x86_64"
+UNAME_M = amd64
+.endif
+
 NAME != cat main.c | grep "const char \*sofname" | awk '{print $$5}' | \
        sed "s/\"//g" | sed "s/;//"
 VERSION != cat main.c | grep "const char \*version" | awk '{print $$5}' | \