On Sun, Nov 14, 2021 at 01:24:16PM +0100, Miguel Ojeda wrote:
On Sun, Nov 14, 2021 at 12:07 PM Ard Biesheuvel [off-list ref] wrote:
quoted
+KBUILD_CFLAGS += $(call cc-option, -Wno-initializer-overrides)
I don't think we would need `cc-option`.
-Winitializer-overrides is the clang version of the flag, as opposed to
-Woverride-init for gcc. A compatibility flag was added in clang 8 so if
this is changed to
KBUILD_CFLAGS += -Wno-override-init
it should work for both compilers.
Cheers,
Nathan
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel