Fix INIT_STACK_ALL prompt on 5.10

Fixes https://github.com/Frogging-Family/linux-tkg/issues/110
This commit is contained in:
Tk-Glitch 2020-10-31 22:21:00 +01:00
parent 9d110b2c69
commit debb2a1d8e

View File

@ -486,7 +486,7 @@ _tkg_srcprep() {
sed -i -e 's/CONFIG_DEBUG_INFO.*/CONFIG_DEBUG_INFO=n/' ./.config
fi
if [ "$_compiler_name" = "-llvm" ]; then
if [ "$_basever" = "59" ]; then
if [ "$_basever" != "54" ] && [ "$_basever" != "57" ] && [ "$_basever" != "58" ]; then
echo 'CONFIG_INIT_STACK_ALL_PATTERN=n' >> ./.config
else
echo 'CONFIG_INIT_STACK_ALL=n' >> ./.config