Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/windirstat/premake-4.x-stable.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/actions/codeblocks/codeblocks_cbp.tmpl')
-rw-r--r--src/actions/codeblocks/codeblocks_cbp.tmpl7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/actions/codeblocks/codeblocks_cbp.tmpl b/src/actions/codeblocks/codeblocks_cbp.tmpl
index 4aeae41..ee966a9 100644
--- a/src/actions/codeblocks/codeblocks_cbp.tmpl
+++ b/src/actions/codeblocks/codeblocks_cbp.tmpl
@@ -38,11 +38,8 @@
<% end %>
</Compiler>
<Linker>
- <% if cfg.flags.NoSymbols then %>
- <Add options="-s" />
- <% end %>
- <% for _,v in ipairs(cfg.linkoptions) do %>
- <Add option="<%= premake.esc(v) %>" />
+ <% for _,flag in ipairs(table.join(cc.getldflags(cfg), cfg.linkoptions)) do %>
+ <Add option="<%= premake.esc(flag) %>" />
<% end %>
<% for _,v in ipairs(premake.getlinks(cfg, "all", "directory")) do %>
<Add directory="<%= premake.esc(v) %>" />