From: 諏訪子 <suwako@076.moe>
Date: Sun, 9 Jun 2024 10:35:24 +0000 (+0900)
Subject: bmakeのチェック
X-Git-Tag: sp-1.3.0
X-Git-Url: http://10.11.0.4:5575/?a=commitdiff_plain;h=836ea365421bd863a401e944538a6a0868eb226d;p=sp.git

bmakeのチェック
---

diff --git a/Makefile b/Makefile
index 2adb971..4dcab74 100644
--- 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}' | \