Commit 84c64d07 authored by Seblu's avatar Seblu
Browse files

Enable Full LTO

parent 9a3e7f8d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -21,7 +21,7 @@ _stable=https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git
source=("git+$_main#tag=v5.12"
        "config.$CARCH")
sha256sums=('SKIP'
            '4afb8438f80b249e13ff090eeead88342eacf774773aeb2a365803a91bcc8048')
            '31d2b4f0c335fb7de7b2a3c2e1d88f69bd03edda22f7ec68cee552f0183204bd')

prepare() {
  [[ -d linux-stable ]] && ln -snf linux-stable linux
+2 −2
Original line number Diff line number Diff line
@@ -792,8 +792,8 @@ CONFIG_ARCH_SUPPORTS_LTO_CLANG=y
CONFIG_ARCH_SUPPORTS_LTO_CLANG_THIN=y
CONFIG_HAS_LTO_CLANG=y
# CONFIG_LTO_NONE is not set
# CONFIG_LTO_CLANG_FULL is not set
CONFIG_LTO_CLANG_THIN=y
CONFIG_LTO_CLANG_FULL=y
# CONFIG_LTO_CLANG_THIN is not set
CONFIG_HAVE_ARCH_WITHIN_STACK_FRAMES=y
CONFIG_HAVE_CONTEXT_TRACKING=y
CONFIG_HAVE_CONTEXT_TRACKING_OFFSTACK=y