mirror of
https://github.com/ldc-developers/ldc.git
synced 2025-04-30 15:10:59 +03:00
fix #667 flags list used as string
enable function and data sections fix incorrect library search paths
This commit is contained in:
parent
491c180a54
commit
8af29baeda
9 changed files with 23 additions and 12 deletions
|
@ -282,7 +282,9 @@ static int linkObjToBinaryWin(bool sharedLib)
|
|||
}
|
||||
|
||||
// remove dead code and fold identical COMDATs
|
||||
if (!opts::disableLinkerStripDead)
|
||||
if (opts::disableLinkerStripDead)
|
||||
args.push_back("/OPT:NOREF");
|
||||
else
|
||||
{
|
||||
args.push_back("/OPT:REF");
|
||||
args.push_back("/OPT:ICF");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue