[klibc] [PATCH] klibc: introduce EXTRA_KLIBCWARNFLAGS variable
max at stro.at
Mon Jul 2 13:45:45 PDT 2012
On Mon, Jul 02, 2012 at 11:18:13AM -0700, Maciej Żenczykowski wrote:
> I'm afraid I know next to nothing about KBuild,
> and for that matter I haven't been really able to understand the feedback.
Look at how it is done on linux Kbuild side and copy over desired
behaviour. In need ask your local Kbuild guru.
> I imagine that a CONFIG_WERROR=y line would need to be added to defconfig,
> and then ccflags-$(CONFIG_WERROR) += -Werror or something would need
> to be added somewhere.
> However, I still do not see how this can be set via the command line,
> nor how this can then be used
> to add additional options besides -Werror.
> All in all this seems like a lot of work for no gain.
Well I do not have much sympathy for -Werror anyway, so..
But I don't think that a CONFIG variable was hinted in this thread,
this seems too much.
More information about the klibc