Re: gcc-3.3.1-hammer vs current pre

Adrian Bunk (bunk@fs.tum.de)
Mon, 14 Jul 2003 02:43:33 +0200


On Mon, Jul 14, 2003 at 01:40:24AM +0200, J.A. Magallon wrote:

>...
> Is there any way to set compile flags for _subsystems_ ? To start
> a search on what breaks at -O2.
>...

It's only possible on a per-directory basis (excluding subdirectories).

Read section 7.6 in Documentation/kbuild/makefiles.txt .

drivers/acpi/Makefile in 2.4.22-pre contains an example (the ACPI code
is compiled with -Os).

> TIA

cu
Adrian

-- 

"Is there not promise of rain?" Ling Tan asked suddenly out of the darkness. There had been need of rain for many days. "Only a promise," Lao Er said. Pearl S. Buck - Dragon Seed

- 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/