mirror of
https://github.com/ldc-developers/ldc.git
synced 2025-05-13 22:48:43 +03:00
Linker flag /LARGEADDRESSAWARE is not required with LLVM 3.3.
With a recent commit support for the missing relocations was added. This change removes the flag from the linker command line.
This commit is contained in:
parent
bbdf473ef0
commit
d8aed3627e
1 changed files with 2 additions and 0 deletions
|
@ -237,8 +237,10 @@ static int linkObjToBinaryWin(bool sharedLib)
|
|||
// use address space layout randomization (ASLR) feature
|
||||
args.push_back("/DYNAMICBASE");
|
||||
|
||||
#if LDC_LLVM_VER <= 302
|
||||
// because of a LLVM bug
|
||||
args.push_back("/LARGEADDRESSAWARE:NO");
|
||||
#endif
|
||||
|
||||
// output debug information
|
||||
if (global.params.symdebug)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue