pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mk/compiler mk: Use gcc12 for gfortran on Darwin/aarch64.
details: https://anonhg.NetBSD.org/pkgsrc/rev/dabcc9fffb7f
branches: trunk
changeset: 389595:dabcc9fffb7f
user: jperkin <jperkin%pkgsrc.org@localhost>
date: Tue Dec 06 14:29:58 2022 +0000
description:
mk: Use gcc12 for gfortran on Darwin/aarch64.
diffstat:
mk/compiler/gfortran.mk | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diffs (20 lines):
diff -r 578bccc21519 -r dabcc9fffb7f mk/compiler/gfortran.mk
--- a/mk/compiler/gfortran.mk Tue Dec 06 14:29:25 2022 +0000
+++ b/mk/compiler/gfortran.mk Tue Dec 06 14:29:58 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: gfortran.mk,v 1.20 2022/04/04 15:38:47 jperkin Exp $
+# $NetBSD: gfortran.mk,v 1.21 2022/12/06 14:29:58 jperkin Exp $
#
# Copyright (c) 2005 The NetBSD Foundation, Inc.
# All rights reserved.
@@ -41,6 +41,10 @@
# in that case.
POSSIBLE_GFORTRAN_VERSION?= ${CC_VERSION:S/gcc-//:C/.[0-9].[0-9]$//}
+.if ${MACHINE_PLATFORM:MDarwin-*-aarch64}
+GFORTRAN_VERSION?= 12
+.endif
+
# gcc9 doesn't work on NetBSD/arm, but gcc10 does.
.if !empty(POSSIBLE_GFORTRAN_VERSION:M9) && \
!empty(MACHINE_PLATFORM:MNetBSD-*-aarch64*)
Home |
Main Index |
Thread Index |
Old Index