mirror of
https://github.com/ldc-developers/ldc.git
synced 2025-05-12 13:55:57 +03:00
Fixed some unmerged parts of the D2 frontend.
Removed the automatic linker flags for D2 (temp). Renamed a runtime function for D2.
This commit is contained in:
parent
5658d9bb38
commit
1812c5b00a
3 changed files with 20 additions and 6 deletions
|
@ -311,12 +311,14 @@ int main(int argc, char** argv)
|
|||
}
|
||||
else if (!noDefaultLib)
|
||||
{
|
||||
#if !DMDV2
|
||||
global.params.linkswitches->push(mem.strdup("-lldc-runtime"));
|
||||
global.params.linkswitches->push(mem.strdup("-ltango-cc-tango"));
|
||||
global.params.linkswitches->push(mem.strdup("-ltango-gc-basic"));
|
||||
// pass the runtime again to resolve issues
|
||||
// with linking order
|
||||
global.params.linkswitches->push(mem.strdup("-lldc-runtime"));
|
||||
#endif
|
||||
}
|
||||
|
||||
if (global.params.run)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue