summaryrefslogtreecommitdiffstats
path: root/library
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2020-12-11 13:35:39 (GMT)
committerdgp <dgp@users.sourceforge.net>2020-12-11 13:35:39 (GMT)
commite3d0b11da574606c45a494d4cc81004ccc7d3c50 (patch)
tree67c6a3b006c3f1b97b11fde174dbca6aaaa4064f /library
parentb33993aaf9ec488a95bab79cd5dae16628ba0818 (diff)
parent0045179f39d4849f5272d2993a6eb0f2ce7ec4cf (diff)
downloadtcl-e3d0b11da574606c45a494d4cc81004ccc7d3c50.zip
tcl-e3d0b11da574606c45a494d4cc81004ccc7d3c50.tar.gz
tcl-e3d0b11da574606c45a494d4cc81004ccc7d3c50.tar.bz2
merge 8.6
Diffstat (limited to 'library')
-rw-r--r--library/platform/platform.tcl13
1 files changed, 11 insertions, 2 deletions
diff --git a/library/platform/platform.tcl b/library/platform/platform.tcl
index 2e54a33..6c01142 100644
--- a/library/platform/platform.tcl
+++ b/library/platform/platform.tcl
@@ -343,7 +343,14 @@ proc ::platform::patterns {id} {
lappend alt universal
}
x86_64 {
- lappend alt i386-x86_64
+ if {[lindex [split $::tcl_platform(osVersion) .] 0] < 19} {
+ set alt i386-x86_64
+ } else {
+ set alt {}
+ }
+ }
+ arm {
+ lappend alt x86_64
}
default { set alt {} }
}
@@ -365,7 +372,9 @@ proc ::platform::patterns {id} {
}
# Add 10.5 to 10.minor to patterns.
for {set j $minor} {$j >= 5} {incr j -1} {
- lappend res macosx${major}.${j}-${cpu}
+ if {$cpu ne "arm"} {
+ lappend res macosx${major}.${j}-${cpu}
+ }
foreach a $alt {
lappend res macosx${major}.${j}-$a
}