From 786140014b6d293a8d27f2e1b39ed62f467a213c Mon Sep 17 00:00:00 2001 From: Tk-Glitch Date: Tue, 18 Oct 2022 13:37:22 +0200 Subject: [PATCH] Make sure WERROR is disabled by default RCs and custom patches will throw warnings, and while the Arch defconfig we ship disables it, people using their own might face compilation failures. Fixes https://github.com/Frogging-Family/linux-tkg/issues/628 --- linux-tkg-config/prepare | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/linux-tkg-config/prepare b/linux-tkg-config/prepare index 69b2fe2..fc4fe6b 100644 --- a/linux-tkg-config/prepare +++ b/linux-tkg-config/prepare @@ -868,7 +868,7 @@ _tkg_srcprep() { if [ -z $_debug ]; then # Set some -tkg defaults - _disable "DYNAMIC_FAULT" "DEFAULT_FQ_CODEL" + _disable "DYNAMIC_FAULT" "DEFAULT_FQ_CODEL" "WERROR" _enable "DEFAULT_CAKE" if [ "$_kver" = "504" ]; then _module "TP_SMAPI"