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
This commit is contained in:
Tk-Glitch
2022-10-18 13:37:22 +02:00
parent c162bca30d
commit 786140014b

View File

@@ -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"