mirror of
https://codeberg.org/ziglang/zig.git
synced 2026-03-08 02:24:33 +01:00
libcxxabi: define _LIBCPP_BUILDING_LIBRARY in addition to _LIBCXXABI_BUILDING_LIBRARY
This commit is contained in:
parent
43888e6549
commit
ef2001c7ff
1 changed files with 1 additions and 0 deletions
|
|
@ -406,6 +406,7 @@ pub fn buildLibCxxAbi(comp: *Compilation, prog_node: std.Progress.Node) BuildErr
|
|||
try addCxxArgs(comp, arena, &cflags);
|
||||
|
||||
try cflags.append("-DNDEBUG");
|
||||
try cflags.append("-D_LIBCPP_BUILDING_LIBRARY");
|
||||
try cflags.append("-D_LIBCXXABI_BUILDING_LIBRARY");
|
||||
if (!comp.config.any_non_single_threaded) {
|
||||
try cflags.append("-D_LIBCXXABI_HAS_NO_THREADS");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue