summaryrefslogtreecommitdiffstats
path: root/Documentation/vDSO
diff options
context:
space:
mode:
authorPeter Foley <pefoley2@pefoley.com>2014-10-08 21:49:24 +0200
committerJonathan Corbet <corbet@lwn.net>2014-10-21 16:44:26 +0200
commit60a95b772f20a286514d32daa082131721854a98 (patch)
tree35382c86808697ad70395d45f99ecd5acbaf32dd /Documentation/vDSO
parentDocumentation: dt-bindings: Explain order in patch series (diff)
downloadlinux-60a95b772f20a286514d32daa082131721854a98.tar.xz
linux-60a95b772f20a286514d32daa082131721854a98.zip
Documentation: fix vdso_standalone_test_x86 on 32-bit
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>
Diffstat (limited to 'Documentation/vDSO')
-rw-r--r--Documentation/vDSO/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Documentation/vDSO/Makefile b/Documentation/vDSO/Makefile
index 2b99e57207c1..ee075c3d2124 100644
--- a/Documentation/vDSO/Makefile
+++ b/Documentation/vDSO/Makefile
@@ -10,3 +10,6 @@ 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