diff options
author | Paul Duncan <pabs@pablotron.org> | 2024-05-09 01:20:06 -0400 |
---|---|---|
committer | Paul Duncan <pabs@pablotron.org> | 2024-05-09 01:20:06 -0400 |
commit | fa6408796693f7324371951c5b16f67d6196bad8 (patch) | |
tree | 526f2a6a311b80b962c6fa5f62112b7c12c69801 /Makefile | |
parent | 976ec83f90442bc4c8aaa04c55daedcc56b04473 (diff) | |
download | sha3-fa6408796693f7324371951c5b16f67d6196bad8.tar.bz2 sha3-fa6408796693f7324371951c5b16f67d6196bad8.zip |
Makefile: remove -fsanitize=leak (not supported in macos)
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 11 |
1 files changed, 10 insertions, 1 deletions
@@ -13,7 +13,16 @@ LIB=libsha3.so LIB_OBJS=sha3.o # test app (test suite and sanitizers) -TEST_CFLAGS=-g -fsanitize=address,pointer-compare,pointer-subtract,undefined,leak -W -Wall -Wextra -Werror -pedantic -std=c11 -march=native -mtune=native -DBACKEND=$(BACKEND) +# +# note: some older versions of GCC may have trouble with these sanitizer +# options. if the compiler is giving you grief, try changing the +# "-fsanitize" parameter to "-fsanitize=undefined" or removing the +# "-fsanitize" parameter completely +# +# as noted in https://github.com/pablotron/fips203ipd/issues/1, macos +# clang and gcc do not support -fsanitize=leak, so i have removed it for +# now +TEST_CFLAGS=-g -fsanitize=address,pointer-compare,pointer-subtract,undefined -W -Wall -Wextra -Werror -pedantic -std=c11 -march=native -mtune=native -DBACKEND=$(BACKEND) TEST_APP=./test-sha3 .PHONY=test all |