Ver código fonte

(Attempted) fix for Clang not working with MacOS

This is intended to fix #11.

Unfortunately I haven't been able to successfully build DDS yet to actually try it out, but looking at the surrounding code it seems like the right solution...
default_compile_flags
Tristan Brindle 4 anos atrás
pai
commit
39e44914bc
1 arquivos alterados com 2 adições e 2 exclusões
  1. +2
    -2
      src/dds/toolchain/from_dds.cpp

+ 2
- 2
src/dds/toolchain/from_dds.cpp Ver arquivo

@@ -504,7 +504,7 @@ toolchain dds::parse_toolchain_dds(const lm::pair_list& pairs, strv context) {
if (!compiler_id) {
fail(context, "Cannot deduce library file extension without Compiler-ID");
}
if (is_gnu) {
if (is_gnu_like) {
return ".a";
} else if (is_msvc) {
return ".lib";
@@ -518,7 +518,7 @@ toolchain dds::parse_toolchain_dds(const lm::pair_list& pairs, strv context) {
if (!compiler_id) {
fail(context, "Cannot deduce object file extension without Compiler-ID");
}
if (is_gnu) {
if (is_gnu_like) {
return ".o";
} else if (is_msvc) {
return ".obj";

Carregando…
Cancelar
Salvar