comparison libtommath/makefile_include.mk @ 1695:93e738ef0d9d

Avoid oss-fuzz $SANITIZER causing wrong build https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=22608
author Matt Johnston <matt@ucc.asn.au>
date Wed, 27 May 2020 20:33:45 +0800
parents 1051e4eea25a
children
comparison
equal deleted inserted replaced
1694:39534eedf429 1695:93e738ef0d9d
48 endif 48 endif
49 endif 49 endif
50 50
51 LTM_CFLAGS += -I./ -Wall -Wsign-compare -Wextra -Wshadow 51 LTM_CFLAGS += -I./ -Wall -Wsign-compare -Wextra -Wshadow
52 52
53 ifdef SANITIZER 53 # renamed for Dropbear to avoid clash with oss-fuzz $SANITIZER var
54 ifdef LTM_SANITIZER
54 LTM_CFLAGS += -fsanitize=undefined -fno-sanitize-recover=all -fno-sanitize=float-divide-by-zero 55 LTM_CFLAGS += -fsanitize=undefined -fno-sanitize-recover=all -fno-sanitize=float-divide-by-zero
55 endif 56 endif
56 57
57 ifndef NO_ADDTL_WARNINGS 58 ifndef NO_ADDTL_WARNINGS
58 # additional warnings 59 # additional warnings