dm thin metadata: fix __udivdi3 undefined on 32-bit
[linux/fpc-iii.git] / Documentation / vDSO / Makefile
blobb12e98770e1f5ea48d714dbce12db2a27c06b2f5
1 ifndef CROSS_COMPILE
2 # vdso_test won't build for glibc < 2.16, so disable it
3 # hostprogs-y := vdso_test
4 hostprogs-$(CONFIG_X86) := vdso_standalone_test_x86
5 vdso_standalone_test_x86-objs := vdso_standalone_test_x86.o parse_vdso.o
6 vdso_test-objs := parse_vdso.o vdso_test.o
8 # Tell kbuild to always build the programs
9 always := $(hostprogs-y)
11 HOSTCFLAGS := -I$(objtree)/usr/include -std=gnu99
12 HOSTCFLAGS_vdso_standalone_test_x86.o := -fno-asynchronous-unwind-tables -fno-stack-protector
13 HOSTLOADLIBES_vdso_standalone_test_x86 := -nostdlib
14 ifeq ($(CONFIG_X86_32),y)
15 HOSTLOADLIBES_vdso_standalone_test_x86 += -lgcc_s
16 endif
17 endif