Commit e84d24d9 authored by Andrei Vagin's avatar Andrei Vagin

zdtm: handle COMPAT_TEST from Makefile.inc

In this case it will work for any make commangs. For example:
make COMPAT_TEST=y -C test/zdtm/lib

travis-ci: success for zdtm: handle COMPAT_TEST from Makefile.inc
Cc: Dmitry Safonov <dsafonov@virtuozzo.com>
Signed-off-by: 's avatarAndrei Vagin <avagin@virtuozzo.com>
Reviewed-by: 's avatarDmitry Safonov <dsafonov@virtuozzo.com>
Signed-off-by: 's avatarPavel Emelyanov <xemul@virtuozzo.com>
parent 983ed43f
SUBDIRS = lib static transition
ifeq ($(COMPAT_TEST),y)
ifeq ($(ARCH),x86)
export USERCFLAGS += -m32
export CFLAGS += -m32
export LDFLAGS += -m32
endif
endif
default: all
.PHONY: default lib static transition
......
......@@ -30,4 +30,12 @@ endif
RM := rm -f --one-file-system
ifeq ($(COMPAT_TEST),y)
ifeq ($(ARCH),x86)
export USERCFLAGS += -m32
export CFLAGS += -m32
export LDFLAGS += -m32
endif
endif
export E Q RM
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment