mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-02-21 22:23:14 +01:00
Windows: Add /DEBUG to linker command line if debug symbols are requested.
This commit is contained in:
@@ -282,6 +282,10 @@ int linkObjToBinaryWin(bool sharedLib)
|
||||
// because of a LLVM bug
|
||||
args.push_back("/LARGEADDRESSAWARE:NO");
|
||||
|
||||
// output debug information
|
||||
if (global.params.symdebug)
|
||||
args.push_back("/DEBUG");
|
||||
|
||||
// specify creation of DLL
|
||||
if (sharedLib)
|
||||
args.push_back("/DLL");
|
||||
|
||||
Reference in New Issue
Block a user