gcc-runtime: simplify condition for providing libgfortran

This commit is contained in:
Massimiliano Culpo 2024-12-06 12:24:41 +01:00
parent 36c14561a6
commit 63e328645f
No known key found for this signature in database
GPG Key ID: 3E52BB992233066C

View File

@ -48,9 +48,9 @@ class GccRuntime(Package):
# libgfortran ABI # libgfortran ABI
provides("fortran-rt", "libgfortran") provides("fortran-rt", "libgfortran")
provides("libgfortran@3", when="%gcc@:6") provides("libgfortran@3", when="@:6")
provides("libgfortran@4", when="%gcc@7") provides("libgfortran@4", when="@7")
provides("libgfortran@5", when="%gcc@8:") provides("libgfortran@5", when="@8:")
depends_on("libc", type="link", when="platform=linux") depends_on("libc", type="link", when="platform=linux")