summaryrefslogtreecommitdiff
path: root/lang/gcc15
diff options
context:
space:
mode:
Diffstat (limited to 'lang/gcc15')
-rw-r--r--lang/gcc15/Makefile8
-rw-r--r--lang/gcc15/pkg-help5
2 files changed, 8 insertions, 5 deletions
diff --git a/lang/gcc15/Makefile b/lang/gcc15/Makefile
index 957ccabf391e..d4e52f6d3815 100644
--- a/lang/gcc15/Makefile
+++ b/lang/gcc15/Makefile
@@ -80,11 +80,11 @@ CONFIGURE_TARGET= x86_64-portbld-${OPSYS:tl}${OSREL}
CONFIGURE_ARGS+= --with-abi=elfv2
.endif
-.if ${ARCH} == i386
-LANGUAGES:= c,c++,objc,fortran
-.else
-LANGUAGES:= c,c++,objc,fortran,jit
+LANGUAGES= c,c++,objc,fortran
+.if ${ARCH} != i386 && !empty(PORT_OPTIONS:M*BOOTSTRAP)
+LANGUAGES:= ${LANGUAGES},jit
.endif
+
TARGLIB= ${PREFIX}/lib/gcc${SUFFIX}
TARGLIB32= ${PREFIX}/lib32 # The version information is added later
LIBEXEC= ${PREFIX}/libexec/gcc${SUFFIX}
diff --git a/lang/gcc15/pkg-help b/lang/gcc15/pkg-help
index 9030bbb28d3f..632e1c65f816 100644
--- a/lang/gcc15/pkg-help
+++ b/lang/gcc15/pkg-help
@@ -1,3 +1,6 @@
Building this port with LTO_BOOTSTRAP enabled requires significant amounts of
memory and time. Consider disabling LTO_BOOTSTRAP in favor of STANDARD_BOOTSTRAP
-(or disabling BOOTSTRAP altogether) in case that is a problem.
+in case that is a problem.
+
+Note that disabling bootstrap altogether is possible, but not recommended: some
+features (e.g. jit) requires you to choose a bootstrap option to be enabled.