diff options
Diffstat (limited to 'dev-lang/dmd/files/2.097-link-32-bit-shared-lib-with-ld.bfd.patch')
-rw-r--r-- | dev-lang/dmd/files/2.097-link-32-bit-shared-lib-with-ld.bfd.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/dev-lang/dmd/files/2.097-link-32-bit-shared-lib-with-ld.bfd.patch b/dev-lang/dmd/files/2.097-link-32-bit-shared-lib-with-ld.bfd.patch new file mode 100644 index 0000000..a68fe1f --- /dev/null +++ b/dev-lang/dmd/files/2.097-link-32-bit-shared-lib-with-ld.bfd.patch @@ -0,0 +1,11 @@ +--- dmd2/dmd/src/dmd/link.d ++++ dmd2/dmd/src/dmd/link.d +@@ -446,6 +446,8 @@ else version (Posix) + { + if (global.params.dll) + argv.push("-shared"); ++ if (!target.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. |