Better sanitizer check
@@ -547,7 +547,7 @@ module BASE_UNIT {
LDFLAGS+=-fprofile-instr-generate -fcoverage-mapping
}
- when ($SANITIZER_TYPE) {
+ when ($SANITIZER_TYPE && $SANITIZER_TYPE != "no") {
CFLAGS+=-fno-omit-frame-pointer
when ($SANITIZER_TYPE == "pg") {
