From b8eeacbcb2f5e5be529c7d934f1720a528fb4d87 Mon Sep 17 00:00:00 2001 From: George Guo Date: Thu, 7 Nov 2024 11:13:50 +0800 Subject: [PATCH] kpatch/LoongArch: enable kpatch build Since kpatch now supports LoongArch basically, enable the build. Signed-off-by: George Guo --- kpatch-build/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kpatch-build/Makefile b/kpatch-build/Makefile index 4e964b7f..0f019698 100644 --- a/kpatch-build/Makefile +++ b/kpatch-build/Makefile @@ -21,7 +21,7 @@ PLUGIN_CFLAGS := $(filter-out -std=gnu11 -Wconversion, $(CFLAGS)) PLUGIN_CFLAGS += -shared -I$(GCC_PLUGINS_DIR)/include \ -Igcc-plugins -fPIC -fno-rtti -O2 -Wall endif -ifeq ($(filter $(ARCH),s390x x86_64 ppc64le),) +ifeq ($(filter $(ARCH),s390x x86_64 ppc64le loongarch64),) $(error Unsupported architecture ${ARCH}, check https://github.com/dynup/kpatch/#supported-architectures) endif