Let GCC do kernel builds with -Wno-error=unused-but-set-variable by
setting the following in src.conf:
WITH_SET_BUT_NOTUSED_KERNEL_WARNINGS=
Differential D34792
kern.mk: hook GCC up to src.conf knob rew on Apr 6 2022, 9:05 AM. Authored by Tags None Referenced Files
Subscribers
Details
Let GCC do kernel builds with -Wno-error=unused-but-set-variable by WITH_SET_BUT_NOTUSED_KERNEL_WARNINGS=
Diff Detail
Event TimelineComment Actions Oh huh, I didn't know we had turned it off entirely vs using the no-error approach. I guess leaving it as-is is fine in that case. |