# HG changeset patch # User Matt Johnston # Date 1590582825 -28800 # Node ID 93e738ef0d9d70005fa159c545641874c452b9d1 # Parent 39534eedf42946781f759174eccf83079daa7b94 Avoid oss-fuzz $SANITIZER causing wrong build https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=22608 diff -r 39534eedf429 -r 93e738ef0d9d libtommath/makefile_include.mk --- a/libtommath/makefile_include.mk Wed May 27 00:05:15 2020 +0800 +++ b/libtommath/makefile_include.mk Wed May 27 20:33:45 2020 +0800 @@ -50,7 +50,8 @@ LTM_CFLAGS += -I./ -Wall -Wsign-compare -Wextra -Wshadow -ifdef SANITIZER +# renamed for Dropbear to avoid clash with oss-fuzz $SANITIZER var +ifdef LTM_SANITIZER LTM_CFLAGS += -fsanitize=undefined -fno-sanitize-recover=all -fno-sanitize=float-divide-by-zero endif