Re: [PATCH] Revert "kbuild: use -Oz instead of -Os when using clang"

From: Nick Desaulniers
Date: Mon Mar 18 2019 - 18:23:37 EST


On Mon, Mar 18, 2019 at 3:07 PM <hpa@xxxxxxxxx> wrote:
>
> On March 18, 2019 2:56:05 PM PDT, Matthias Kaehlcke <mka@xxxxxxxxxxxx> wrote:
> >> > KBUILD_CFLAGS += $(call cc-disable-warning, int-in-bool-context)
> >> >
> >> > ifdef CONFIG_CC_OPTIMIZE_FOR_SIZE
> >> > -KBUILD_CFLAGS += $(call cc-option,-Oz,-Os)
> >> > +KBUILD_CFLAGS += -Os
> >> > else
> >> > KBUILD_CFLAGS += -O2
> >> > endif
>
> Would be nice, still, to have -Ok.

April fools *is* coming up. 0:-)
--
Thanks,
~Nick Desaulniers