mirror of
https://github.com/checkpoint-restore/criu
synced 2025-08-30 05:48:05 +00:00
zdtm: moved lib/atomic.h to lib/arch/x86/include/asm/atomic.h
The file lib/atomic.h is the only machine-dependent file in the test suite that breaks compilation of the test static/session01 on ARM. The file is moved into a separate directory and the build system is modified accordingly to prevent this. Signed-off-by: Alexander Kartashov <alekskartashov@parallels.com> Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
parent
5500145557
commit
31f9ef8f90
@ -6,7 +6,7 @@
|
||||
#include <sys/time.h>
|
||||
#include <limits.h>
|
||||
#include <errno.h>
|
||||
#include <atomic.h>
|
||||
#include "asm/atomic.h"
|
||||
|
||||
#define BUG_ON(condition) \
|
||||
do { \
|
||||
|
@ -1,6 +1,6 @@
|
||||
LIBDIR = ../../lib
|
||||
LIB = $(LIBDIR)/libzdtmtst.a
|
||||
override CPPFLAGS += -I$(LIBDIR)
|
||||
override CPPFLAGS += -I$(LIBDIR) -iquote $(LIBDIR)/arch/$(ARCH)/include
|
||||
CFLAGS = -g -O2 -Wall -Werror -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0
|
||||
|
||||
TST_NOFILE = \
|
||||
|
Loading…
x
Reference in New Issue
Block a user