You should try cc-diasable-warning like this:
KBUILD_CFLAGS += $(call cc-disable-warning, ipa-cp-clone)
That works, thanks!
Andi, does it still work as expected for you?
No, unfortunately it doesn't enable the flag with my compiler.
Also BTW ipa-cp-clone is not a warning, it's an optimization pass.
Sam any other ideas?
-Andi
--
To unsubscribe from this list: send the line "unsubscribe linux-kbuild" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html