]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/blobdiff - arch/s390/Makefile
s390: add automatic detection of the spectre defense
[mirror_ubuntu-eoan-kernel.git] / arch / s390 / Makefile
index bd424f6a3c5b0964a85567cbd7043ee8ad48690e..c79936d02f7bd428dd8c8d5d64012d1d10ace8bf 100644 (file)
@@ -81,7 +81,7 @@ ifdef CONFIG_EXPOLINE
     CC_FLAGS_EXPOLINE += -mfunction-return=thunk
     CC_FLAGS_EXPOLINE += -mindirect-branch-table
     export CC_FLAGS_EXPOLINE
-    cflags-y += $(CC_FLAGS_EXPOLINE)
+    cflags-y += $(CC_FLAGS_EXPOLINE) -DCC_USING_EXPOLINE
   endif
 endif