isomd5sum/0001-isomd5sum-1.2.3-add-loongarch64-support.patch

26 lines
664 B
Diff
Raw Normal View History

2023-03-07 09:46:10 +08:00
From 42ebb67d30d95ace5d9f4caa43320001dd6c7c35 Mon Sep 17 00:00:00 2001
From: Huang Yang <huangyang@loongson.cn>
Date: Tue, 7 Mar 2023 09:36:05 +0800
Subject: [PATCH] add loongarch64 support
---
Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
index c98cf35..346e028 100644
--- a/Makefile
+++ b/Makefile
@@ -4,7 +4,7 @@ PYTHONINCLUDE := $(shell $(PYTHON)-config --includes)
VERSION=1.2.3
-ifneq (,$(filter sparc64 ppc64 ppc64le x86_64 s390x aarch64,$(shell uname -m)))
+ifneq (,$(filter sparc64 ppc64 ppc64le x86_64 s390x aarch64 loongarch64,$(shell uname -m)))
LIBDIR = lib64
else
LIBDIR = lib
--
2.33.0