diff --git a/driver/linker.cpp b/driver/linker.cpp index 052aa9ae..44da6320 100644 --- a/driver/linker.cpp +++ b/driver/linker.cpp @@ -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)