diff options
author | Piotr Gorski | 2023-08-10 11:08:39 +0200 |
---|---|---|
committer | Piotr Gorski | 2023-08-10 11:08:39 +0200 |
commit | d9220330766146260b46820e49867cced861818d (patch) | |
tree | 02c05ae2fbfb1aac8bc84a2c78ae809b65662dad | |
parent | c82a6f99cd76c0b2b86704c0955286cb1e7606ba (diff) | |
download | aur-d9220330766146260b46820e49867cced861818d.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..." |