| author | |
| committer | |
| log | 41709c9b386178d3e85d874fd38920bb0ac80371 |
| tree | d3579dd27bbe615df3815aa69e949bf8bc2c0c6a |
| parent | f167348661a96d73a8c4d90b21e71b0c6950d7fa |
| signature |
1 files changed, 3 insertions(+), 0 deletions(-)
src/libs/libunwind.zig+3| ... | ... | @@ -124,6 +124,9 @@ pub fn buildStaticLib(comp: *Compilation, prog_node: std.Progress.Node) BuildErr |
| 124 | 124 | if (!comp.config.any_non_single_threaded) { |
| 125 | 125 | try cflags.append("-D_LIBUNWIND_HAS_NO_THREADS"); |
| 126 | 126 | } |
| 127 | if (target.os.tag == .haiku) { | |
| 128 | try cflags.append("-D_LIBUNWIND_USE_HAIKU_BSD_LIB"); | |
| 129 | } | |
| 127 | 130 | if (target.cpu.arch.isArm() and target.abi.float() == .hard) { |
| 128 | 131 | try cflags.append("-DCOMPILER_RT_ARMHF_TARGET"); |
| 129 | 132 | } |