Disable CONFIG_CPU_SRSO for thin and full LTO
Signed-off-by: Piotr Gorski <lucjan.lucjanov@gmail.com>
This commit is contained in:
parent
c82a6f99cd
commit
d922033076
1 changed files with 7 additions and 0 deletions
7
PKGBUILD
7
PKGBUILD
|
@ -286,6 +286,13 @@ prepare() {
|
||||||
"${srcdir}"/auto-cpu-optimization.sh
|
"${srcdir}"/auto-cpu-optimization.sh
|
||||||
fi
|
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
|
### Selecting CachyOS config
|
||||||
if [ -n "$_cachy_config" ]; then
|
if [ -n "$_cachy_config" ]; then
|
||||||
echo "Enabling CachyOS config..."
|
echo "Enabling CachyOS config..."
|
||||||
|
|
Loading…
Add table
Reference in a new issue