| ... | ... | @@ -119,7 +119,7 @@ pub fn buildStaticLib(comp: *Compilation, prog_node: std.Progress.Node) BuildErr |
| 119 | 119 | } |
| 120 | 120 | try cflags.append("-I"); |
| 121 | 121 | try cflags.append(try comp.zig_lib_directory.join(arena, &[_][]const u8{ "libunwind", "include" })); |
| 122 | | try cflags.append("-D_LIBUNWIND_DISABLE_VISIBILITY_ANNOTATIONS"); |
| 122 | try cflags.append("-D_LIBUNWIND_HIDE_SYMBOLS"); |
| 123 | 123 | try cflags.append("-Wa,--noexecstack"); |
| 124 | 124 | try cflags.append("-fvisibility=hidden"); |
| 125 | 125 | try cflags.append("-fvisibility-inlines-hidden"); |