diff options
| author | ruki <[email protected]> | 2017-07-06 05:33:03 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2017-07-06 05:33:03 +0800 |
| commit | a1bdaeab96b1c3a877b17a6511d4adfaab8327f1 (patch) | |
| tree | b86d01607beee4075a71cf24ebee962f33ca8433 /xmake/modules/detect | |
| parent | 54dc847355f7cfec14d2f23db253271baf5bf301 (diff) | |
improve find_tool for gcc on macosx
Diffstat (limited to 'xmake/modules/detect')
| -rw-r--r-- | xmake/modules/detect/tools/find_gcc.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/modules/detect/tools/find_gcc.lua b/xmake/modules/detect/tools/find_gcc.lua index d7cbce7d2..dfb826b29 100644 --- a/xmake/modules/detect/tools/find_gcc.lua +++ b/xmake/modules/detect/tools/find_gcc.lua @@ -54,5 +54,5 @@ function main(opt) end -- ok? - return program, version + return program, version, ifelse(os.host() == "macosx", "clang", "gcc") end |
