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:
parent
d6ce398eb4
commit
a856c48e77
2
Makefile
2
Makefile
@ -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
|
||||
|
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user