mirror of
https://github.com/dynup/kpatch
synced 2025-03-08 03:38:00 +00:00
Merge pull request #1127 from kamalesh-babulal/make-unsupported-arch
kpatch-build/Makefile: Fail build on unsupported architectures
This commit is contained in:
commit
37ce430773
@ -22,6 +22,8 @@ GCC_PLUGINS_DIR := $(shell gcc -print-file-name=plugin)
|
||||
PLUGIN_CFLAGS := $(filter-out -Wconversion, $(CFLAGS))
|
||||
PLUGIN_CFLAGS += -shared -I$(GCC_PLUGINS_DIR)/include \
|
||||
-Igcc-plugins -fPIC -fno-rtti -O2 -Wall
|
||||
else
|
||||
$(error Unsupported architecture ${ARCH}, check https://github.com/dynup/kpatch/#supported-architectures)
|
||||
endif
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user