diff options
| author | ruki <[email protected]> | 2015-05-28 10:17:32 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2015-05-28 10:17:32 +0800 |
| commit | 6292b0f0938625902da6e3deec4877e409007708 (patch) | |
| tree | 4f6c7477e3901e0c63acd7a8cc2449d9d51344df /xmake/scripts/platform/linux/_linux.lua | |
| parent | 3aab30fc254ae7e9bd138aff2bb263af0d447017 (diff) | |
add some compiler options for macosx
Diffstat (limited to 'xmake/scripts/platform/linux/_linux.lua')
| -rw-r--r-- | xmake/scripts/platform/linux/_linux.lua | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/xmake/scripts/platform/linux/_linux.lua b/xmake/scripts/platform/linux/_linux.lua index b933d563b..391a4d2cd 100644 --- a/xmake/scripts/platform/linux/_linux.lua +++ b/xmake/scripts/platform/linux/_linux.lua @@ -38,11 +38,11 @@ _linux._PROBER = require("platform/linux/_prober") -- make configure function _linux.make(configs) - -- init the file name formats - configs.formats = {} - configs.formats.static = {"lib", ".a"} - configs.formats.object = {"", ".o"} - configs.formats.shared = {"", ".so"} + -- init the file name format + configs.format = {} + configs.format.static = {"lib", ".a"} + configs.format.object = {"", ".o"} + configs.format.shared = {"", ".so"} end -- get the option menu for action: xmake config or global @@ -51,7 +51,7 @@ function _linux.menu(action) -- init config option menu _linux._MENU_CONFIG = _linux._MENU_CONFIG or { {} - , {nil, "ar", "kv", "ar", "The Library Creator" } + , {nil, "ar", "kv", nil, "The Library Creator" } , {nil, "arflags", "kv", nil, "The Library Creator Flags" } } |
