diff options
| author | ruki <[email protected]> | 2022-12-02 00:38:50 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2022-12-02 00:38:50 +0800 |
| commit | 831ef2d7697ceea6c83aaea75c5d7765352969fa (patch) | |
| tree | 4b023cbf131da939a4f36146c054ef1b58d9d6fd | |
| parent | 05d9e82172739b36900b6cbc9a4c72625d003f3b (diff) | |
support all allowdarchs #3120
| -rw-r--r-- | xmake/core/project/project.lua | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/xmake/core/project/project.lua b/xmake/core/project/project.lua index b7fee40eb..812ee9133 100644 --- a/xmake/core/project/project.lua +++ b/xmake/core/project/project.lua @@ -1274,10 +1274,9 @@ function project.allowed_archs(plat) splitplat = splitinfo[1] splitarch = splitinfo[2] elseif #splitinfo == 1 then - splitplat = "" splitarch = allowed_arch end - if plat == splitplat then + if plat == splitplat or splitplat == nil then if not allowed_archs_set then allowed_archs_set = hashset.new() end |
