Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Nov 2003 08:05:58 -0700
From:      Robin Schoonover <end@endif.cjb.net>
To:        Ion-Mihai Tetcu <itetcu@apropo.ro>
Cc:        questions@freebsd.org
Subject:   Re: cc (make.conf and make args precedence) question
Message-ID:  <20031114080558.0248718f.end@endif.cjb.net>
In-Reply-To: <5.1.0.14.0.20031115142832.016c6768@mail.apropo.ro>
References:  <5.1.0.14.0.20031115142832.016c6768@mail.apropo.ro>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 15 Nov 2003 14:36:40 +0200, Ion-Mihai Tetcu <itetcu@apropo.ro>
wrote:
> 
> Now what flag have precedence, -O2 or -O3 ?
> 

>From the gcc man page (and yes, cc is really just gcc):
"If  you  use multiple -O options, with or without level
numbers, the last such option is the one that is effective."

In other words, -O3 in this case because it is the last one.

-- 
Robin Schoonover (aka End)
#      Calvin and Hobbes (Bill Watterson)        "The surest sign that
#      intelligent life exists elsewhere in the universe is that it has
#      never tried to contact us."



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031114080558.0248718f.end>