summaryrefslogtreecommitdiff
path: root/xmake/scripts/tools/ar.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2015-06-05 17:04:07 +0800
committerruki <[email protected]>2015-06-05 17:04:07 +0800
commit6222a6ede3f06a0c67eccf0225d0ffb88cf9d4c8 (patch)
tree84bd3b55fa14113db97f956faecfff424688222e /xmake/scripts/tools/ar.lua
parent411e3138ec53ab99c73f0124ef93ac98d746cdc9 (diff)
add optimize flags
Diffstat (limited to 'xmake/scripts/tools/ar.lua')
-rw-r--r--xmake/scripts/tools/ar.lua7
1 files changed, 0 insertions, 7 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(...)