From 6292b0f0938625902da6e3deec4877e409007708 Mon Sep 17 00:00:00 2001 From: ruki Date: Thu, 28 May 2015 10:17:32 +0800 Subject: add some compiler options for macosx --- xmake/scripts/platform/linux/_prober.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'xmake/scripts/platform/linux/_prober.lua') 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 -- cgit v1.3.1