Navigation Menu

Skip to content

Commit

Permalink
Fix arch filtering logic
Browse files Browse the repository at this point in the history
(cherry picked from commit 7017235)
  • Loading branch information
jmroot committed Oct 3, 2018
1 parent fcf5e6c commit e968c69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/port1.0/portconfigure.tcl
Expand Up @@ -337,7 +337,7 @@ proc portconfigure::choose_supported_archs {archs} {
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} {
if {"x86_64" in $archs && ($supported_archs eq "" || "x86_64" in $supported_archs)} {
return x86_64
} else {
return ""
Expand Down

0 comments on commit e968c69

Please sign in to comment.