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.
957a5ae560Alex Rønne Petersen committed on 4/4/2025, 4:08:10 AMparentc3e88a2
1 file changedLine totals unavailable