diff options
author | Piotr Gorski | 2023-08-10 11:15:31 +0200 |
---|---|---|
committer | Piotr Gorski | 2023-08-10 11:15:31 +0200 |
commit | 5c9a78f9fd88401abd331b0456bdee0301604c7f (patch) | |
tree | 9a9f23f4e229b4a32f5e6f8d7e0714e7a8c40fd6 | |
parent | 85a1b8166d4c33c295cc17c7040cd7e20ac5da75 (diff) | |
download | aur-5c9a78f9fd88401abd331b0456bdee0301604c7f.tar.gz |
Disable CONFIG_CPU_SRSO for thin and full LTO
Signed-off-by: Piotr Gorski <lucjan.lucjanov@gmail.com>
-rw-r--r-- | PKGBUILD | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -286,6 +286,13 @@ prepare() { "${srcdir}"/auto-cpu-optimization.sh fi + ### Disabling CONFIG_CPU_SRSO + # More infos here: https://github.com/CachyOS/linux-cachyos/issues/150 + if [ "$_use_llvm_lto" != "none" ]; then + echo "Disabling CONFIG_CPU_SRSO..." + scripts/config -d CPU_SRSO + fi + ### Selecting CachyOS config if [ -n "$_cachy_config" ]; then echo "Enabling CachyOS config..." |