mirror of
https://github.com/ldc-developers/ldc.git
synced 2025-05-12 05:47:11 +03:00
Merge remote-tracking branch 'origin/ltsmaster'
This commit is contained in:
commit
e55823fd09
11 changed files with 60 additions and 38 deletions
|
@ -900,7 +900,9 @@ static void genModuleInfo(Module *m, bool emitFullModuleInfo) {
|
|||
b.finalize(moduleInfoSym->getType()->getPointerElementType(), moduleInfoSym);
|
||||
setLinkage({LLGlobalValue::ExternalLinkage, false}, moduleInfoSym);
|
||||
|
||||
if (global.params.targetTriple->isOSLinux() || global.params.targetTriple->isOSFreeBSD() ||
|
||||
if ((global.params.targetTriple.isOSLinux() &&
|
||||
global.params.targetTriple.getEnvironment() != llvm::Triple::Android) ||
|
||||
global.params.targetTriple.isOSFreeBSD() ||
|
||||
#if LDC_LLVM_VER > 305
|
||||
global.params.targetTriple->isOSNetBSD() || global.params.targetTriple->isOSOpenBSD() ||
|
||||
global.params.targetTriple->isOSDragonFly()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue