浏览代码

(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 年前
父节点
当前提交
39e44914bc
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. +2
    -2
      src/dds/toolchain/from_dds.cpp

+ 2
- 2
src/dds/toolchain/from_dds.cpp 查看文件

@@ -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";

正在加载...
取消
保存