diff options
Diffstat (limited to 'src/actions')
-rw-r--r-- | src/actions/codeblocks/codeblocks_cbp.tmpl | 7 |
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) %>" />
|