mirror of
https://github.com/checkpoint-restore/criu
synced 2025-08-22 01:51:51 +00:00
cr: don't compile the suite for an unsupported architecture
Signed-off-by: Alexander Kartashov <alekskartashov@parallels.com> Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
parent
b9645bb5ec
commit
714cbe701b
2
Makefile
2
Makefile
@ -45,6 +45,8 @@ endif
|
||||
SRC_DIR ?= $(shell pwd)
|
||||
ARCH_DIR := $(SRC_DIR)/arch/$(ARCH)
|
||||
|
||||
$(if $(wildcard $(ARCH_DIR)),,$(error "The architecture $(ARCH) isn't supported"))
|
||||
|
||||
CFLAGS += -I$(SRC_DIR)/include -I$(SRC_DIR)/pie -I$(ARCH_DIR) -iquote $(ARCH_DIR)/include -fno-strict-aliasing
|
||||
|
||||
LIBS := -lrt -lpthread -lprotobuf-c
|
||||
|
Loading…
x
Reference in New Issue
Block a user