| ... | @@ -9475,9 +9475,15 @@ void add_cc_args(CodeGen *g, ZigList<const char *> &args, const char *out_dep_pa | ... | @@ -9475,9 +9475,15 @@ void add_cc_args(CodeGen *g, ZigList<const char *> &args, const char *out_dep_pa |
| 9475 | const char *libcxx_include_path = buf_ptr(buf_sprintf("%s" OS_SEP "libcxx" OS_SEP "include", | 9475 | const char *libcxx_include_path = buf_ptr(buf_sprintf("%s" OS_SEP "libcxx" OS_SEP "include", |
| 9476 | buf_ptr(g->zig_lib_dir))); | 9476 | buf_ptr(g->zig_lib_dir))); |
| 9477 | | 9477 | |
| | 9478 | const char *libcxxabi_include_path = buf_ptr(buf_sprintf("%s" OS_SEP "libcxxabi" OS_SEP "include", |
| | 9479 | buf_ptr(g->zig_lib_dir))); |
| | 9480 | |
| 9478 | args.append("-isystem"); | 9481 | args.append("-isystem"); |
| 9479 | args.append(libcxx_include_path); | 9482 | args.append(libcxx_include_path); |
| 9480 | | 9483 | |
| | 9484 | args.append("-isystem"); |
| | 9485 | args.append(libcxxabi_include_path); |
| | 9486 | |
| 9481 | if (target_abi_is_musl(g->zig_target->abi)) { | 9487 | if (target_abi_is_musl(g->zig_target->abi)) { |
| 9482 | args.append("-D_LIBCPP_HAS_MUSL_LIBC"); | 9488 | args.append("-D_LIBCPP_HAS_MUSL_LIBC"); |
| 9483 | } | 9489 | } |