mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-25 22:10:49 +07: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>
13 lines
517 B
Makefile
13 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
|