mirror of
https://github.com/dynup/kpatch
synced 2025-04-01 14:38:10 +00:00
kpatch/LoongArch: enable kpatch build
Since kpatch now supports LoongArch basically, enable the build. Signed-off-by: George Guo <guodongtai@kylinos.cn>
This commit is contained in:
parent
4ce275484a
commit
06f87de0ad
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user