Re: [incremental-PATCH-for-Sam's-Review] ACPI: use ccflags-y instead of EXTRA_CFLAGS

From: Andi Kleen
Date: Fri Jan 02 2009 - 17:32:44 EST


> It appears that the entire kernel is now built with -Os by default,

It's default in defconfig, but not necessarily in all configs people
are using.

> so it looks like this is now redundant in the default case and will
> have an effect only when somebody disables CONFIG_CC_OPTIMIZE_FOR_SIZE
> to build with -O2.
>
> So I'm willing to delete -Os from the ACPI Makefile
> in the interest of simplicity.

I would keep it. In fact it might make sense to expand explicit -Os
to more subsystems.

-Andi

--
ak@xxxxxxxxxxxxxxx
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/