diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2023-03-17 20:11:26 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2023-03-17 20:11:26 (GMT) |
commit | 4ce715f36aa76db649754d59c735144551d9aac5 (patch) | |
tree | a4adc4bf1b27d4bf68d1a4cad60537c7cdbc6ebf /unix/tcl.m4 | |
parent | 2d7572997675b69cd32554859f3ac191c00068f7 (diff) | |
parent | bdad96ab6988802901289f1b4d1f366a2002f023 (diff) | |
download | tcl-4ce715f36aa76db649754d59c735144551d9aac5.zip tcl-4ce715f36aa76db649754d59c735144551d9aac5.tar.gz tcl-4ce715f36aa76db649754d59c735144551d9aac5.tar.bz2 |
Merge 8.7
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 17d3b06..cf9f711 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]) ]) |