summaryrefslogtreecommitdiff
path: root/xmake/scripts/platform/platform.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/platform.lua
parent3aab30fc254ae7e9bd138aff2bb263af0d447017 (diff)
add some compiler options for macosx
Diffstat (limited to 'xmake/scripts/platform/platform.lua')
-rw-r--r--xmake/scripts/platform/platform.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/xmake/scripts/platform/platform.lua b/xmake/scripts/platform/platform.lua
index b47623216..064138d45 100644
--- a/xmake/scripts/platform/platform.lua
+++ b/xmake/scripts/platform/platform.lua
@@ -89,7 +89,7 @@ end
function platform.format(kind)
-- get format
- local format = platform.get("formats")
+ local format = platform.get("format")
-- get it
return format[kind] or {"", ""}
@@ -208,7 +208,7 @@ function platform.menu(action)
return menus
end
--- probe the platform configure and update the values with "auto"
+-- probe the platform configure
function platform.probe(configs, is_global)
-- probe global