[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] Makeconf: controlling the optimization level
From: |
Roland McGrath |
Subject: |
Re: [PATCH] Makeconf: controlling the optimization level |
Date: |
Sun, 15 Apr 2001 18:51:52 -0400 (EDT) |
> This is necessary as gcc selects the highest flags thus:
>
> # CFLAGS=-O make
>
> would be overridden by the default value in CFLAGS.
This is not true. GCC always uses the last -O argument, overriding the
earlier ones. In -v, you'll see they're all passed through to cc1.
cc1 uses the last value given.