git: d5fb24358d - main - [phb][makefiles] Remove USE_GCC=X.Y+ mentions
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 11 Jan 2023 06:32:07 UTC
The branch main has been updated by fernape: URL: https://cgit.FreeBSD.org/doc/commit/?id=d5fb24358dd0d9567c7224e232c86ae3fbe59ffe commit d5fb24358dd0d9567c7224e232c86ae3fbe59ffe Author: Fernando Apesteguía <fernape@FreeBSD.org> AuthorDate: 2023-01-10 07:43:52 +0000 Commit: Fernando Apesteguía <fernape@FreeBSD.org> CommitDate: 2023-01-10 07:43:52 +0000 [phb][makefiles] Remove USE_GCC=X.Y+ mentions As of this commit[1] it is not possible to set a minimal version of GCC. Remove mentions to this in the Porter's Handbook. [1] https://cgit.freebsd.org/ports/commit/?id=9b5f5ab8482f105311d01a32260ef32bba4a2628 --- documentation/content/en/books/porters-handbook/makefiles/_index.adoc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/documentation/content/en/books/porters-handbook/makefiles/_index.adoc b/documentation/content/en/books/porters-handbook/makefiles/_index.adoc index 1ee7181f99..4424c368d0 100644 --- a/documentation/content/en/books/porters-handbook/makefiles/_index.adoc +++ b/documentation/content/en/books/porters-handbook/makefiles/_index.adoc @@ -3614,7 +3614,6 @@ Some ports need a specific, old GCC version, some require modern, recent version It is typically set to `yes` (means always use stable, modern GCC from ports per `GCC_DEFAULT` in [.filename]#Mk/bsd.default-versions.mk#). This is also the default value. The exact version can also be specified, with a value such as `10`. -The minimal required version can be specified as `10+`. GCC from the base system is used when it satisfies the requested version, otherwise an appropriate compiler is built from ports, and `CC` and `CXX` are adjusted accordingly. The `:build` argument following the version specifier adds only a build time dependency to the port. @@ -3624,7 +3623,7 @@ For example: [.programlisting] .... USE_GCC=yes # port requires a current version of GCC -USE_GCC=11+:build # port requires GCC 11 or later at build time only +USE_GCC=11:build # port requires GCC 11 at build time only .... ====