ogl_beamforming

Ultrasound Beamforming Implemented with OpenGL
git clone anongit@rnpnr.xyz:ogl_beamforming.git
Log | Files | Refs | Feed | Submodules | README | LICENSE

Commit: fe66d6f468a5daf92a540bd8e7d36f6836fc01c2
Parent: 34f78cb5dbe4010c7b544ab9a5a7cd04233884ef
Author: Randy Palamar
Date:   Wed,  3 Sep 2025 10:42:39 -0600

build: disable default sanitizer use in debug builds

Some useful debug tools misbehave when the sanitizer is enabled.
Unfortunate but it isn't useful when my default behaviour is to
patch it out.

Diffstat:
Mbuild.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/build.c b/build.c @@ -426,7 +426,7 @@ cmd_base(Arena *a, Options *o) if (o->debug && is_unix) cmd_append(a, &result, "-ggdb"); /* NOTE(rnp): need to avoid w32-gcc for ci */ - b32 sanitize = !is_msvc && (o->debug || o->sanitize) && !(is_w32 && is_gcc); + b32 sanitize = o->sanitize && !is_msvc && !(is_w32 && is_gcc); if (sanitize) { cmd_append(a, &result, "-fsanitize=address,undefined"); /* NOTE(rnp): impossible to autodetect on GCC versions < 14 (ci has 13) */