summaryrefslogtreecommitdiffstats
path: root/arch/s390/Kconfig
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2019-04-08 23:26:15 +0200
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2019-04-11 13:36:49 +0200
commit96ca7674ea66e9f0e2cb9f75588d4d16e5abb724 (patch)
treeb3b22f6a818e2877fe1097d775ce98bdb478466d /arch/s390/Kconfig
parentc1afcaec2af6d80d057b184eb86cbb018fce6517 (diff)
downloadlinux-96ca7674ea66e9f0e2cb9f75588d4d16e5abb724.tar.bz2
s390: don't build vdso32 with clang
clang does not support 31 bit object files on s390, so skip the 32-bit vdso here, and only build it when using gcc to compile the kernel. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390/Kconfig')
-rw-r--r--arch/s390/Kconfig3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/s390/Kconfig b/arch/s390/Kconfig
index 4ac8d49e206a..566f0b460d21 100644
--- a/arch/s390/Kconfig
+++ b/arch/s390/Kconfig
@@ -388,6 +388,9 @@ config COMPAT
(and some other stuff like libraries and such) is needed for
executing 31 bit applications. It is safe to say "Y".
+config COMPAT_VDSO
+ def_bool COMPAT && !CC_IS_CLANG
+
config SYSVIPC_COMPAT
def_bool y if COMPAT && SYSVIPC