blob: aeaf240009f8be5adaa44fe47ac4a355c26cad1c (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
--- dmd2/dmd/src/link.d
+++ dmd2/dmd/src/link.d
@@ -460,6 +460,8 @@ else static if (__linux__ || __FreeBSD__ || __OpenBSD__ || __sun)
{
if (global.params.dll)
argv.push("-shared");
+ if (!global.params.is64bit)
+ argv.push("-fuse-ld=bfd");
}
// None of that a.out stuff. Use explicit exe file name, or
// generate one from name of first source file.
|