Browse Source

Set definition for libc++ debug

default_compile_flags
vector-of-bool 4 years ago
parent
commit
3fe1ba95be
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/dds/toolchain/from_json.cpp

+ 1
- 1
src/dds/toolchain/from_json.cpp View File

@@ -446,7 +446,7 @@ toolchain dds::parse_toolchain_json_data(const json5::data& dat, std::string_vie
extend(ret, {"-static-libgcc", "-static-libstdc++"});
}
if (runtime_debug.value_or(false)) {
extend(ret, {"-D_GLIBCXX_DEBUG"});
extend(ret, {"-D_GLIBCXX_DEBUG", "-D_LIBCPP_DEBUG=1"});
}
} else {
// No flags if we don't know the compiler

Loading…
Cancel
Save