diff options
| author | ruki <[email protected]> | 2015-06-05 17:04:07 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2015-06-05 17:04:07 +0800 |
| commit | 6222a6ede3f06a0c67eccf0225d0ffb88cf9d4c8 (patch) | |
| tree | 84bd3b55fa14113db97f956faecfff424688222e /xmake/scripts/tools | |
| parent | 411e3138ec53ab99c73f0124ef93ac98d746cdc9 (diff) | |
add optimize flags
Diffstat (limited to 'xmake/scripts/tools')
| -rw-r--r-- | xmake/scripts/tools/ar.lua | 7 | ||||
| -rw-r--r-- | xmake/scripts/tools/clang.lua | 7 |
2 files changed, 0 insertions, 14 deletions
diff --git a/xmake/scripts/tools/ar.lua b/xmake/scripts/tools/ar.lua index 008aba7b6..1fec6b373 100644 --- a/xmake/scripts/tools/ar.lua +++ b/xmake/scripts/tools/ar.lua @@ -46,13 +46,6 @@ function ar.command_link(objfiles, targetfile, flags) return string.format("%s %s %s %s", ar.name, flags, targetfile, objfiles) end --- map gcc flag to the current linker flag -function ar.flag_map(flag) - - -- ok - return flag -end - -- the main function function ar.main(...) diff --git a/xmake/scripts/tools/clang.lua b/xmake/scripts/tools/clang.lua index d8fdbaf4b..b8c6cbdeb 100644 --- a/xmake/scripts/tools/clang.lua +++ b/xmake/scripts/tools/clang.lua @@ -118,13 +118,6 @@ function clang.flag_linkdir(linkdir) return "-L" .. linkdir end --- map gcc flag to the current compiler flag -function clang.flag_map(flag) - - -- ok - return flag -end - -- the main function function clang.main(...) |
