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

Consider the following:

neal@hurd:~/build/tmpfs (0)$ CFLAGS=-O1 make
set -e; gcc -O -O1  -Wall -g -O3  -I. ...

Thanks to hurd/Makeconf:
CFLAGS += -Wall -g -O3

What is the correct way to handle this?

PGP signature

Reply via email to