diff options
| author | ruki <[email protected]> | 2017-02-06 21:56:55 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2017-02-06 21:56:55 +0800 |
| commit | e9aa23db2437faf17ca097e891ec5a1e628865f3 (patch) | |
| tree | 9c6aa8f108f84ba07e5016796a28b7b8401e0ad8 /xmake/tools/ml.lua | |
| parent | 2c125229b2da9e9d854275ae08cd29ecf57a447d (diff) | |
modify linker script
Diffstat (limited to 'xmake/tools/ml.lua')
| -rwxr-xr-x | xmake/tools/ml.lua | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/xmake/tools/ml.lua b/xmake/tools/ml.lua index 0eef34d4e..f32b5b361 100755 --- a/xmake/tools/ml.lua +++ b/xmake/tools/ml.lua @@ -65,12 +65,12 @@ function get(name) end -- make the symbol flag -function symbol(level, symbolfile) +function nf_symbol(level) return "" end -- make the warning flag -function warning(level) +function nf_warning(level) -- the maps local maps = @@ -87,36 +87,36 @@ function warning(level) end -- make the optimize flag -function optimize(level) +function nf_optimize(level) return "" end -- make the vector extension flag -function vectorext(extension) +function nf_vectorext(extension) return "" end -- make the language flag -function language(stdname) +function nf_language(stdname) return "" end -- make the define flag -function define(macro) +function nf_define(macro) -- make it return "-D" .. macro:gsub("\"", "\\\"") end -- make the undefine flag -function undefine(macro) +function nf_undefine(macro) -- make it return "-U" .. macro end -- make the includedir flag -function includedir(dir) +function nf_includedir(dir) -- make it return "-I" .. dir |
