diff --git a/source/dub/compilers/gdc.d b/source/dub/compilers/gdc.d index 0d5d3cf..f0b74bd 100644 --- a/source/dub/compilers/gdc.d +++ b/source/dub/compilers/gdc.d @@ -67,9 +67,8 @@ } settings.addDFlags(arch_flags); - auto binary_file = getTempFile("dub_platform_probe"); return probePlatform(compiler_binary, - arch_flags ~ ["-c", "-o", binary_file.toNativeString()], + arch_flags ~ ["-S"], arch_override); }