summaryrefslogtreecommitdiff
path: root/xmake/scripts/platform/linux/_prober.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2015-05-28 10:17:32 +0800
committerruki <[email protected]>2015-05-28 10:17:32 +0800
commit6292b0f0938625902da6e3deec4877e409007708 (patch)
tree4f6c7477e3901e0c63acd7a8cc2449d9d51344df /xmake/scripts/platform/linux/_prober.lua
parent3aab30fc254ae7e9bd138aff2bb263af0d447017 (diff)
add some compiler options for macosx
Diffstat (limited to 'xmake/scripts/platform/linux/_prober.lua')
-rw-r--r--xmake/scripts/platform/linux/_prober.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/xmake/scripts/platform/linux/_prober.lua b/xmake/scripts/platform/linux/_prober.lua
index cbfcc3710..13cb0b52f 100644
--- a/xmake/scripts/platform/linux/_prober.lua
+++ b/xmake/scripts/platform/linux/_prober.lua
@@ -36,7 +36,7 @@ function _prober._probe_arch(configs)
local arch = configs.arch
-- ok?
- if arch and arch ~= "auto" then return true end
+ if arch then return true end
-- init the default architecture
configs.arch = xmake._ARCH
@@ -45,7 +45,7 @@ function _prober._probe_arch(configs)
return true
end
--- probe the configure and update the values with "auto"
+-- probe the configure
function _prober.done(configs)
-- probe the architecture