tcl: Skip --enable-64bit on Darwin/aarch64.

Causes -arch x86_64 to be added to CFLAGS and then fails to link.
This commit is contained in:
jperkin 2021-07-16 09:56:25 +00:00
parent 63ae75673b
commit 1c7567f971

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.115 2021/04/21 11:42:07 adam Exp $
# $NetBSD: Makefile,v 1.116 2021/07/16 09:56:25 jperkin Exp $
DISTNAME= tcl${TCL_VERSION}-src
PKGNAME= tcl-${TCL_VERSION}
@ -35,7 +35,7 @@ TEST_TARGET= test
.include "options.mk"
# This is needed for SGI and maybe sun (according to tcl developers)
.if defined(ABI) && ${ABI} == "64"
.if defined(ABI) && ${ABI} == "64" && empty(MACHINE_PLATFORM:MDarwin-*-aarch64)
CONFIGURE_ARGS+= --enable-64bit
.endif