diff options
| author | ruki <[email protected]> | 2018-08-16 23:21:21 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2018-08-16 14:08:07 +0800 |
| commit | 3f5a45a8d1f5d96acc4b28c9b33b4bf0c1f43665 (patch) | |
| tree | daa3b327d0747bf7f36ff8be5017d128ecfbe17a /xmake/platforms/windows/xmake.lua | |
| parent | 1357feb05afb1bc65dff229ccfc96aefd67101bf (diff) | |
improve load platform config if no arch
Diffstat (limited to 'xmake/platforms/windows/xmake.lua')
| -rw-r--r-- | xmake/platforms/windows/xmake.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/platforms/windows/xmake.lua b/xmake/platforms/windows/xmake.lua index 910f8aadb..4dd509963 100644 --- a/xmake/platforms/windows/xmake.lua +++ b/xmake/platforms/windows/xmake.lua @@ -50,7 +50,7 @@ platform("windows") import("core.project.config") -- init flags for architecture - local arch = config.get("arch") + local arch = config.get("arch") or os.arch() -- init flags for asm local as = config.get("as") |
