[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] Makeconf: controlling the optimization level
From: |
Neal H Walfield |
Subject: |
Re: [PATCH] Makeconf: controlling the optimization level |
Date: |
Fri, 20 Apr 2001 18:26:11 +0200 |
User-agent: |
Mutt/1.3.15i |
> 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?
pgpTplCfqeb1Q.pgp
Description: PGP signature