diff options
| author | Alex Rønne Petersen <alex@alexrp.com> | 2025-04-03 07:24:03 +0200 |
|---|---|---|
| committer | Alex Rønne Petersen <alex@alexrp.com> | 2025-04-04 06:08:10 +0200 |
| commit | 957a5ae56038517316f66777d8dc5f090f15c214 (patch) | |
| tree | a68448e20d655eeff811737c99f0688716b64275 /lib/libcxx/src/system_error.cpp | |
| parent | c3e88a21fbe9c9e1d163bb7bef10cc5072aeb19e (diff) | |
| download | zig-957a5ae56038517316f66777d8dc5f090f15c214.tar.gz zig-957a5ae56038517316f66777d8dc5f090f15c214.zip | |
cmake: Pass -fno-sanitize=undefined when building zig2.
We build zig2.c and compiler_rt.c with -O0 but then proceed to link with -O3.
So zig2.o and compiler_rt.o will have references to ubsan-rt symbols, but the
-O3 causes the compiler to not link ubsan-rt. We don't actually need the safety
here, so just explicitly disable ubsan.
Diffstat (limited to 'lib/libcxx/src/system_error.cpp')
0 files changed, 0 insertions, 0 deletions
