diff options
| author | ruki <[email protected]> | 2017-07-11 21:22:42 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2017-07-11 21:22:42 +0800 |
| commit | 7346528e00d1175b1ee4ce0c88234434a47a35ec (patch) | |
| tree | ff28310742d348f63824a904846cfa9babe7e8a5 /xmake/core/tool/compiler.lua | |
| parent | 410a36dad68dc1f0b2ac9c12d861af7ab8d0b1d6 (diff) | |
remove unique for flags
Diffstat (limited to 'xmake/core/tool/compiler.lua')
| -rw-r--r-- | xmake/core/tool/compiler.lua | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/xmake/core/tool/compiler.lua b/xmake/core/tool/compiler.lua index d98ae5212..e6104608f 100644 --- a/xmake/core/tool/compiler.lua +++ b/xmake/core/tool/compiler.lua @@ -244,9 +244,6 @@ function compiler:compflags(opt) -- add flags from the compiler self:_addflags_from_compiler(flags, targetkind) - -- remove repeat - flags = table.unique(flags) - -- make flags string local flags_str = table.concat(flags, " "):trim():gsub("\"", "\\\"") |
