lkml.org 
[lkml]   [2002]   [Jan]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [ACPI] ACPI mentioned on lwn.net/kernel
From
Date
"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/

\
 
 \ /
  Last update: 2005-03-22 13:15    [W:0.162 / U:0.008 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site