diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2023-03-17 20:09:18 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2023-03-17 20:09:18 (GMT) |
commit | c0a02fd487347bedb8abb514aa5bef00130435d4 (patch) | |
tree | d192c6279c7e6250d65b112c95e22d7798926a23 /unix/tcl.m4 | |
parent | e9ccf557eb23f66c28210e967e344a61fef2ed58 (diff) | |
parent | 453c27a88e9da3cb50fefe2c4a5fb7a7d09b8afc (diff) | |
download | tcl-c0a02fd487347bedb8abb514aa5bef00130435d4.zip tcl-c0a02fd487347bedb8abb514aa5bef00130435d4.tar.gz tcl-c0a02fd487347bedb8abb514aa5bef00130435d4.tar.bz2 |
Merge 8.6
Diffstat (limited to 'unix/tcl.m4')
-rw-r--r-- | unix/tcl.m4 | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/unix/tcl.m4 b/unix/tcl.m4 index bed1c75..4e205fd 100644 --- a/unix/tcl.m4 +++ b/unix/tcl.m4 @@ -1406,16 +1406,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 ]);; *) @@ -1423,7 +1423,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]) ]) |