git: 408070c463d9 - main - compiler.mk: Update COMPILER_VERSION comment
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 05 Jan 2026 13:29:23 UTC
The branch main has been updated by emaste:
URL: https://cgit.FreeBSD.org/ports/commit/?id=408070c463d97cd9bf5a589cb9926880debf5c69
commit 408070c463d97cd9bf5a589cb9926880debf5c69
Author: Ed Maste <emaste@FreeBSD.org>
AuthorDate: 2026-01-05 02:02:04 +0000
Commit: Ed Maste <emaste@FreeBSD.org>
CommitDate: 2026-01-05 13:28:46 +0000
compiler.mk: Update COMPILER_VERSION comment
The comment was not correct for compilers with a major version >= 10.
Reviewed by: bapt, dim
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D54509
---
Mk/Uses/compiler.mk | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/Mk/Uses/compiler.mk b/Mk/Uses/compiler.mk
index 28103bcf1c83..107c161cbf45 100644
--- a/Mk/Uses/compiler.mk
+++ b/Mk/Uses/compiler.mk
@@ -22,8 +22,8 @@
#
# COMPILER_TYPE: can be gcc or clang
# ALT_COMPILER_TYPE: can be gcc or clang depending on COMPILER_TYPE, only set if the base system has 2 compilers
-# COMPILER_VERSION: first 2 digits of the version: 33 for clang 3.3.*, 47 for gcc 4.7.*
-# ALT_COMPILER_VERSION: first 2 digits of the version: 33 for clang 3.3.*, 47 for gcc 4.7.* of the ALT_COMPILER_TYPE
+# COMPILER_VERSION: major version and first digit of minor version: 33 for clang 3.3.*, 47 for gcc 4.7.*
+# ALT_COMPILER_VERSION: major version and first digit of minor version: 33 for clang 3.3.*, 47 for gcc 4.7.* of the ALT_COMPILER_TYPE
#
# COMPILER_FEATURES: the list of features supported by the compiler includes the standard C++ library.
# CHOSEN_COMPILER_TYPE: can be gcc or clang (type of compiler chosen by the framework)