summaryrefslogtreecommitdiffstats
path: root/unix/tcl.m4
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2023-03-17 20:04:48 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2023-03-17 20:04:48 (GMT)
commit453c27a88e9da3cb50fefe2c4a5fb7a7d09b8afc (patch)
tree0f3f2349057449609a65beb3f4b7f428c268add4 /unix/tcl.m4
parent13b1529c7b6f4da55532170ee08ac047581b6300 (diff)
downloadtcl-453c27a88e9da3cb50fefe2c4a5fb7a7d09b8afc.zip
tcl-453c27a88e9da3cb50fefe2c4a5fb7a7d09b8afc.tar.gz
tcl-453c27a88e9da3cb50fefe2c4a5fb7a7d09b8afc.tar.bz2
arm64e -> arm64, since arm64e is not available yet on MacOS (Thanks to Stefan Sobernig)
Diffstat (limited to 'unix/tcl.m4')
-rw-r--r--unix/tcl.m416
1 files changed, 8 insertions, 8 deletions
diff --git a/unix/tcl.m4 b/unix/tcl.m4
index d9d0a71..0ef9f3d 100644
--- a/unix/tcl.m4
+++ b/unix/tcl.m4
@@ -1541,16 +1541,16 @@ AC_DEFUN([SC_CONFIG_CFLAGS], [
CFLAGS="$CFLAGS -arch x86_64"
do64bit_ok=yes
]);;
- arm64|arm64e)
- AC_CACHE_CHECK([if compiler accepts -arch arm64e flag],
- tcl_cv_cc_arch_arm64e, [
+ arm64)
+ AC_CACHE_CHECK([if compiler accepts -arch arm64 flag],
+ tcl_cv_cc_arch_arm64, [
hold_cflags=$CFLAGS
- CFLAGS="$CFLAGS -arch arm64e"
+ CFLAGS="$CFLAGS -arch arm64"
AC_LINK_IFELSE([AC_LANG_PROGRAM([[]], [[]])],
- [tcl_cv_cc_arch_arm64e=yes],[tcl_cv_cc_arch_arm64e=no])
+ [tcl_cv_cc_arch_arm64=yes],[tcl_cv_cc_arch_arm64=no])
CFLAGS=$hold_cflags])
- AS_IF([test $tcl_cv_cc_arch_arm64e = yes], [
- CFLAGS="$CFLAGS -arch arm64e"
+ AS_IF([test $tcl_cv_cc_arch_arm64 = yes], [
+ CFLAGS="$CFLAGS -arch arm64"
do64bit_ok=yes
]);;
*)
@@ -1558,7 +1558,7 @@ AC_DEFUN([SC_CONFIG_CFLAGS], [
esac
], [
# Check for combined 32-bit and 64-bit fat build
- AS_IF([echo "$CFLAGS " |grep -E -q -- '-arch (ppc64|x86_64|arm64e) ' \
+ AS_IF([echo "$CFLAGS " |grep -E -q -- '-arch (ppc64|x86_64|arm64) ' \
&& echo "$CFLAGS " |grep -E -q -- '-arch (ppc|i386) '], [
fat_32_64=yes])
])