mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-07-26 11:35:33 +00:00
make: Use relative pathes where possible
We're building project from toplevel directory so no need for absolute paths. Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org> Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
parent
ecf73756ec
commit
3ab787dba3
1 changed files with 2 additions and 2 deletions
4
Makefile
4
Makefile
|
|
@ -55,11 +55,11 @@ ifeq ($(ARCH),arm)
|
|||
endif
|
||||
|
||||
SRC_DIR ?= $(CURDIR)
|
||||
ARCH_DIR := $(SRC_DIR)/arch/$(ARCH)
|
||||
ARCH_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) -I$(SRC_DIR)
|
||||
CFLAGS += -Iinclude -Ipie -I. -I$(ARCH_DIR)
|
||||
CFLAGS += -iquote $(ARCH_DIR)/include -fno-strict-aliasing
|
||||
|
||||
LIBS := -lrt -lpthread -lprotobuf-c
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue