summaryrefslogtreecommitdiffstats
path: root/kernel/Documentation/vDSO
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/Documentation/vDSO')
-rw-r--r--kernel/Documentation/vDSO/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/Documentation/vDSO/Makefile b/kernel/Documentation/vDSO/Makefile
index ee075c3d2..b12e98770 100644
--- a/kernel/Documentation/vDSO/Makefile
+++ b/kernel/Documentation/vDSO/Makefile
@@ -1,3 +1,4 @@
+ifndef CROSS_COMPILE
# vdso_test won't build for glibc < 2.16, so disable it
# hostprogs-y := vdso_test
hostprogs-$(CONFIG_X86) := vdso_standalone_test_x86
@@ -13,3 +14,4 @@ HOSTLOADLIBES_vdso_standalone_test_x86 := -nostdlib
ifeq ($(CONFIG_X86_32),y)
HOSTLOADLIBES_vdso_standalone_test_x86 += -lgcc_s
endif
+endif