Re: [ACPI] ACPI mentioned on lwn.net/kernel

Andi Kleen (ak@suse.de)
26 Jan 2002 23:43:42 +0100


"Martin Eriksson" <nitrax@giron.wox.org> writes:

> -CFLAGS := $(CPPFLAGS) -Wall -Wstrict-prototypes -Wno-trigraphs -O2 \
> +CFLAGS := $(CPPFLAGS) -Wall -Wstrict-prototypes -Wno-trigraphs -Os \
> -fomit-frame-pointer -fno-strict-aliasing -fno-common
> AFLAGS := -D__ASSEMBLY__ $(CPPFLAGS)

You should remove the -malign-* options in arch/i386/Makefile too.
Most of -Os win normally comes from doing less aggressive padding,
but the kernel overrides this.

Also gcc 3.0 and gcc 3.1-snapshots should be somewhat better at
implementing -Os.

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