Don't use -march=native for keccak

CircleCI has AVX512 support and the compiler will generate instructions that Valgrind doesn't handle.
This commit is contained in:
Thom Wiggers 2019-11-18 13:24:41 +01:00 зафіксовано Kris Kwiatkowski
джерело 7da91aa360
коміт 296177e079

@ -1,7 +1,7 @@
KeccakP-1600-times4-SIMD256.o: KeccakP-1600-times4-SIMD256.c \
align.h brg_endian.h KeccakP-1600-times4-SnP.h \
KeccakP-1600-unrolling.macros SIMD256-config.h
$(CC) $(CFLAGS) -march=native -c $< -o $@
$(CC) $(CFLAGS) -mavx2 -c $< -o $@
.PHONY: clean
clean: