Skip to content
Permalink
Browse files

filter out unsupported archs with 10.14 SDK

(cherry picked from commit 60544ce)
  • Loading branch information
jmroot committed Oct 2, 2018
1 parent db0af71 commit 2fc221abac571f04403f8bf56952360eb2d1ef97
Showing with 9 additions and 2 deletions.
  1. +9 −2 src/port1.0/portconfigure.tcl
@@ -334,8 +334,15 @@ proc portconfigure::configure_start {args} {
# configure.universal_archs based on supported_archs and build_arch or
# universal_archs
proc portconfigure::choose_supported_archs {archs} {
global supported_archs
if {$supported_archs eq ""} {
global supported_archs configure.sdk_version
# macOS 10.14 SDK only supports one arch, x86_64
if {${configure.sdk_version} ne "" && [vercmp ${configure.sdk_version} 10.14] >= 0} {
if {"x86_64" in $archs && "x86_64" in $supported_archs} {
return x86_64
} else {
return ""
}
} elseif {$supported_archs eq ""} {
return $archs
}
set ret {}

0 comments on commit 2fc221a

Please sign in to comment.
You can’t perform that action at this time.