mirror of
https://github.com/dynup/kpatch
synced 2025-04-04 23:29:23 +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 \
|
PLUGIN_CFLAGS += -shared -I$(GCC_PLUGINS_DIR)/include \
|
||||||
-Igcc-plugins -fPIC -fno-rtti -O2 -Wall
|
-Igcc-plugins -fPIC -fno-rtti -O2 -Wall
|
||||||
endif
|
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)
|
$(error Unsupported architecture ${ARCH}, check https://github.com/dynup/kpatch/#supported-architectures)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user