X-Git-Url: https://git.kernelconcepts.de/?p=karo-tx-linux.git;a=blobdiff_plain;f=lib%2FKconfig.debug;h=565783733cd013166b1edc367ba3bc919215d2bd;hp=1d1521c26302a2510e873d49a8b6bb525f399d66;hb=a3847d63e9070a1803111c24859b68432e7d6f2d;hpb=6ff682b3cbaf8bbbbd42084c5210c10d31fea2f0 diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug index 1d1521c26302..565783733cd0 100644 --- a/lib/Kconfig.debug +++ b/lib/Kconfig.debug @@ -216,7 +216,7 @@ config STRIP_ASM_SYMS config READABLE_ASM bool "Generate readable assembler code" - depends on DEBUG_KERNEL + depends on DEBUG_KERNEL && !LTO help Disable some compiler optimizations that tend to generate human unreadable assembler output. This may make the kernel slightly slower, but it helps @@ -312,6 +312,15 @@ config DEBUG_SECTION_MISMATCH - Enable verbose reporting from modpost in order to help resolve the section mismatches that are reported. +config SECTION_MISMATCH_WARN_ONLY + bool "Make section mismatch errors non-fatal" + default y + help + If you say N here, the build process will fail if there are any + section mismatch, instead of just throwing warnings. + + If unsure, say Y. + # # Select this config option from the architecture Kconfig, if it # is preferred to always offer frame pointers as a config