2
0
mirror of https://github.com/checkpoint-restore/criu synced 2025-08-29 21:38:16 +00:00

arm: Build {pie-, }util-vdso with CONFIG_VDSO_32

Signed-off-by: Dmitry Safonov <0x7f454c46@gmail.com>
This commit is contained in:
Dmitry Safonov 2019-05-29 17:15:08 +01:00 committed by Andrei Vagin
parent d6ce398eb4
commit a856c48e77
2 changed files with 2 additions and 2 deletions

View File

@ -35,7 +35,7 @@ endif
# Architecture specific options.
ifeq ($(ARCH),arm)
ARMV := $(shell echo $(UNAME-M) | sed -nr 's/armv([[:digit:]]).*/\1/p; t; i7')
DEFINES := -DCONFIG_ARMV$(ARMV)
DEFINES := -DCONFIG_ARMV$(ARMV) -DCONFIG_VDSO_32
ifeq ($(ARMV),6)
USERCFLAGS += -march=armv6

View File

@ -87,7 +87,7 @@ obj-y += servicefd.o
ifeq ($(VDSO),y)
obj-y += pie-util-vdso.o
obj-y += vdso.o
obj-y += pie-util-vdso-elf32.o
obj-$(CONFIG_COMPAT) += pie-util-vdso-elf32.o
CFLAGS_pie-util-vdso-elf32.o += -DCONFIG_VDSO_32
obj-$(CONFIG_COMPAT) += vdso-compat.o
CFLAGS_REMOVE_vdso-compat.o += $(CFLAGS-ASAN) $(CFLAGS-GCOV)