Skip to content

Commit

Permalink
Add support for --arch=x86_mscoff for LDC (for DMD compatibility)
Browse files Browse the repository at this point in the history
  • Loading branch information
kinke authored and dlang-bot committed Nov 30, 2020
1 parent 76183ff commit 44ba027
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions source/dub/compilers/ldc.d
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ config /etc/ldc2.conf (x86_64-pc-linux-gnu)
switch (arch_override) {
case "": break;
case "x86": arch_flags = ["-march=x86"]; break;
case "x86_mscoff": arch_flags = ["-march=x86"]; break;
case "x86_64": arch_flags = ["-march=x86-64"]; break;
case "aarch64": arch_flags = ["-march=aarch64"]; break;
case "powerpc64": arch_flags = ["-march=powerpc64"]; break;
Expand Down

0 comments on commit 44ba027

Please sign in to comment.