aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLorenzo Salvadore <salvadore@FreeBSD.org>2024-04-29 20:26:14 +0000
committerLorenzo Salvadore <salvadore@FreeBSD.org>2024-05-06 11:59:03 +0000
commitb481defa675a20477146a6d4a9595cc2330b0ecc (patch)
tree6b027ddddf7aceb368946a05f32f962e392d9d74
parent7c89ba68d557a261a33f420354c10c4069051277 (diff)
downloadports-b481defa675a20477146a6d4a9595cc2330b0ecc.tar.gz
ports-b481defa675a20477146a6d4a9595cc2330b0ecc.zip
Mk/bsd.gcc.mk: Add GCC 15 support
-rw-r--r--Mk/bsd.default-versions.mk2
-rw-r--r--Mk/bsd.gcc.mk4
2 files changed, 3 insertions, 3 deletions
diff --git a/Mk/bsd.default-versions.mk b/Mk/bsd.default-versions.mk
index a319b8dd12de..fd381a423145 100644
--- a/Mk/bsd.default-versions.mk
+++ b/Mk/bsd.default-versions.mk
@@ -56,7 +56,7 @@ FPC_DEFAULT?= 3.2.2
. else
FPC_DEFAULT?= 3.3.1
. endif
-# Possible values: 9, 10, 11, 12, 13, 14
+# Possible values: 9, 10, 11, 12, 13, 14, 15
# (Any other version is completely unsupported and not meant for general use.)
GCC_DEFAULT?= 13
# Possible values: 10
diff --git a/Mk/bsd.gcc.mk b/Mk/bsd.gcc.mk
index 170865b57bab..0ecb8527a713 100644
--- a/Mk/bsd.gcc.mk
+++ b/Mk/bsd.gcc.mk
@@ -35,7 +35,7 @@ GCC_Include_MAINTAINER= gerald@FreeBSD.org
# All GCC versions supported by this framework.
#
# When updating this, keep Mk/bsd.default-versions.mk in sync.
-GCCVERSIONS= 9 10 11 12 13 14
+GCCVERSIONS= 9 10 11 12 13 14 15
# No configurable parts below this. ####################################
#
@@ -85,7 +85,7 @@ IGNORE= Unknown version of GCC specified (USE_GCC=${USE_GCC})
# A concrete version has been selected. Set proper ports dependencies,
# CC, CXX, CPP, and flags.
V:= ${_USE_GCC:S/.//}
-. if ${V} == 14
+. if ${V} == 14 || ${V} == 15
_GCC_PORT:= gcc${V}-devel
. else
_GCC_PORT:= gcc${V}