diff --git a/source/dub/compilers/gdc.d b/source/dub/compilers/gdc.d index c25a081..548f28c 100644 --- a/source/dub/compilers/gdc.d +++ b/source/dub/compilers/gdc.d @@ -62,6 +62,8 @@ switch (arch_override) { default: throw new Exception("Unsupported architecture: "~arch_override); case "": break; + case "arm": arch_flags = ["-marm"]; break; + case "arm_thumb": arch_flags = ["-mthumb"]; break; case "x86": arch_flags = ["-m32"]; break; case "x86_64": arch_flags = ["-m64"]; break; }