mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-31 00:17:44 +00:00
25b91ac204
glibc versions older than 2.16 don't include sys/auxv.h which this executable uses. Since we don't have a good way to test for specific glibc versions in kbuild, just disable it for now. Signed-off-by: Peter Foley <pefoley2@pefoley.com> Signed-off-by: Randy Dunlap <rdunlap@infradead.org> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
12 lines
517 B
Makefile
12 lines
517 B
Makefile
# vdso_test won't build for glibc < 2.16, so disable it
|
|
# hostprogs-y := vdso_test
|
|
hostprogs-$(CONFIG_X86) := vdso_standalone_test_x86
|
|
vdso_standalone_test_x86-objs := vdso_standalone_test_x86.o parse_vdso.o
|
|
vdso_test-objs := parse_vdso.o vdso_test.o
|
|
|
|
# Tell kbuild to always build the programs
|
|
always := $(hostprogs-y)
|
|
|
|
HOSTCFLAGS := -I$(objtree)/usr/include -std=gnu99
|
|
HOSTCFLAGS_vdso_standalone_test_x86.o := -fno-asynchronous-unwind-tables -fno-stack-protector
|
|
HOSTLOADLIBES_vdso_standalone_test_x86 := -nostdlib
|