aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLuis Cáceres <lacc97@protonmail.ch>2025-04-11 22:56:51 +0100
committerAlex Rønne Petersen <alex@alexrp.com>2025-04-12 22:27:28 +0200
commitd5ac3be6089b24492c209340bc508a5081cc2483 (patch)
tree70b9a4de6d52cc52ef0d27dd19c6e084a2e5aa4c /src
parenta7122b73231808a8a07b79c84e1eaac9cf4c28aa (diff)
downloadzig-d5ac3be6089b24492c209340bc508a5081cc2483.tar.gz
zig-d5ac3be6089b24492c209340bc508a5081cc2483.zip
src/libunwind.zig: Fix symbol visibility macro define
The define was changed in commit 729899f7b6bf6aff65988d895d7a639391a67608 in upstream llvm.
Diffstat (limited to 'src')
-rw-r--r--src/libunwind.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libunwind.zig b/src/libunwind.zig
index 937501933f..83b7809284 100644
--- a/src/libunwind.zig
+++ b/src/libunwind.zig
@@ -119,7 +119,7 @@ pub fn buildStaticLib(comp: *Compilation, prog_node: std.Progress.Node) BuildErr
}
try cflags.append("-I");
try cflags.append(try comp.zig_lib_directory.join(arena, &[_][]const u8{ "libunwind", "include" }));
- try cflags.append("-D_LIBUNWIND_DISABLE_VISIBILITY_ANNOTATIONS");
+ try cflags.append("-D_LIBUNWIND_HIDE_SYMBOLS");
try cflags.append("-Wa,--noexecstack");
try cflags.append("-fvisibility=hidden");
try cflags.append("-fvisibility-inlines-hidden");