extend(ret, {"-static-libgcc", "-static-libstdc++"}); | extend(ret, {"-static-libgcc", "-static-libstdc++"}); | ||||
} | } | ||||
if (runtime_debug.value_or(false)) { | if (runtime_debug.value_or(false)) { | ||||
extend(ret, {"-D_GLIBCXX_DEBUG"}); | |||||
extend(ret, {"-D_GLIBCXX_DEBUG", "-D_LIBCPP_DEBUG=1"}); | |||||
} | } | ||||
} else { | } else { | ||||
// No flags if we don't know the compiler | // No flags if we don't know the compiler |