mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-30 12:49:36 +00:00
![Peter Foley](/assets/img/avatar_default.png)
vdso_standalone_test_x86 needs -lgcc_s to build succesfully on 32bit. Signed-off-by: Peter Foley <pefoley2@pefoley.com> [ Fixed missing separator issue reported by Paul Bolle <pebolle@tiscali.nl> ] Signed-off-by: Jonathan Corbet <corbet@lwn.net>
15 lines
599 B
Makefile
15 lines
599 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
|
|
ifeq ($(CONFIG_X86_32),y)
|
|
HOSTLOADLIBES_vdso_standalone_test_x86 += -lgcc_s
|
|
endif
|