diff options
author | Edwin Groothuis <edwin@FreeBSD.org> | 2005-06-03 01:42:54 +0000 |
---|---|---|
committer | Edwin Groothuis <edwin@FreeBSD.org> | 2005-06-03 01:42:54 +0000 |
commit | b86571032d3eb3be7b965d065d3f9273e665eb5e (patch) | |
tree | 8ce9c18a58c15ee9efb9167060de0f0ac0daa6e8 /print/lout | |
parent | Generally disable libjava again, since it mysteriously causes the build to (diff) |
USE_GCC=X.Y+ should prefer the stock compiler
USE_GCC=3.2+ on a 6-CURRENT system prefers the GCC 3.2 compiler
instead of the GCC 3.4 default system compiler.
One often uses USE_GCC=3.2+ to enable a port to build on RELENG_4,
but that does not mean a 6-CURRENT user doesn't want to use the
native compiler.
I also argue that the correct algorithm for USE_GCC=3.2+ is:
1. Use system compiler if it's version is allowable by the USE_GCC
invocation.
2. Prefer the highest version # found already installed and allowed
by the USE_GCC invocation, rather than the lowest.
3. Install the specified GCC version and use if, if no other already
installed compiler meets the USE_GCC invocation.
#1 and #3 are implemented with this patch, but #2 isn't.
The reason for it is because there is no highest version # specifiable
with the USE_GCC command. What could be made is that the USE_GCC
command accepts two arguments, where the first is the lower version,
the second is the upper version. Or USE_GCC=-4.0, where everything
<= 4.0 is allowed.
PR: ports/81116
Reviewed by: David O'Brien <obrien@freebsd.org>
Notes
Notes:
svn path=/head/; revision=136697
Diffstat (limited to 'print/lout')
0 files changed, 0 insertions, 0 deletions