Skip to content

Commit

Permalink
According to the noted issue, the compiler to avoid is llvm-gcc-4.2,
Browse files Browse the repository at this point in the history
which means 11.x and 12.x according to mk/platform/Darwin.mk. On 10.x
(i386 Snow Leopard Server, at least), no problem with the system gcc.
Adjust the scope of the workaround to match.
  • Loading branch information
schmonz committed Jan 27, 2022
1 parent 5d84499 commit e831d69
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions lang/python310/Makefile
@@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.10 2022/01/25 12:16:54 jperkin Exp $
# $NetBSD: Makefile,v 1.11 2022/01/27 21:33:41 schmonz Exp $

.include "dist.mk"

Expand Down Expand Up @@ -37,7 +37,7 @@ PTHREAD_OPTS+= require
.include "../../mk/bsd.prefs.mk"

# http://bugs.python.org/issue13241
.if !empty(MACHINE_PLATFORM:MDarwin-10.*)
.if !empty(MACHINE_PLATFORM:MDarwin-1[12].*)
PKGSRC_COMPILER= clang
PKG_CC= clang
PKG_CXX= clang++
Expand Down
4 changes: 2 additions & 2 deletions lang/python37/Makefile
@@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.32 2022/01/25 12:16:54 jperkin Exp $
# $NetBSD: Makefile,v 1.33 2022/01/27 21:33:42 schmonz Exp $

PKGREVISION= 3
.include "dist.mk"
Expand Down Expand Up @@ -37,7 +37,7 @@ PTHREAD_OPTS+= require
.include "../../mk/bsd.prefs.mk"

# http://bugs.python.org/issue13241
.if !empty(MACHINE_PLATFORM:MDarwin-10.*)
.if !empty(MACHINE_PLATFORM:MDarwin-1[12].*)
PKGSRC_COMPILER?= clang
PKG_CC= clang
PKG_CXX= clang++
Expand Down
4 changes: 2 additions & 2 deletions lang/python38/Makefile
@@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.26 2022/01/25 12:16:54 jperkin Exp $
# $NetBSD: Makefile,v 1.27 2022/01/27 21:33:42 schmonz Exp $

PKGREVISION= 3
.include "dist.mk"
Expand Down Expand Up @@ -38,7 +38,7 @@ PTHREAD_OPTS+= require
.include "../../mk/bsd.prefs.mk"

# http://bugs.python.org/issue13241
.if !empty(MACHINE_PLATFORM:MDarwin-10.*)
.if !empty(MACHINE_PLATFORM:MDarwin-1[12].*)
PKGSRC_COMPILER= clang
PKG_CC= clang
PKG_CXX= clang++
Expand Down
4 changes: 2 additions & 2 deletions lang/python39/Makefile
@@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.17 2022/01/25 12:16:54 jperkin Exp $
# $NetBSD: Makefile,v 1.18 2022/01/27 21:33:42 schmonz Exp $

.include "dist.mk"

Expand Down Expand Up @@ -37,7 +37,7 @@ PTHREAD_OPTS+= require
.include "../../mk/bsd.prefs.mk"

# http://bugs.python.org/issue13241
.if !empty(MACHINE_PLATFORM:MDarwin-10.*)
.if !empty(MACHINE_PLATFORM:MDarwin-1[12].*)
PKGSRC_COMPILER= clang
PKG_CC= clang
PKG_CXX= clang++
Expand Down

0 comments on commit e831d69

Please sign in to comment.