Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d06e8921 authored by Chih-Hung Hsieh's avatar Chih-Hung Hsieh Committed by Gerrit Code Review
Browse files

Merge "Disable clang optimization that has segmentation fault."

parents 12677383 c83d3a3b
Loading
Loading
Loading
Loading
+2 −0
Original line number Original line Diff line number Diff line
@@ -6,6 +6,8 @@ include $(CLEAR_VARS)
LOCAL_MODULE := libmincrypt
LOCAL_MODULE := libmincrypt
LOCAL_SRC_FILES := dsa_sig.c p256.c p256_ec.c p256_ecdsa.c rsa.c sha.c sha256.c
LOCAL_SRC_FILES := dsa_sig.c p256.c p256_ec.c p256_ecdsa.c rsa.c sha.c sha256.c
LOCAL_CFLAGS := -Wall -Werror
LOCAL_CFLAGS := -Wall -Werror
# Clang's slp-vectorize phase has segmentation fault when compiling p256_ec.c.
LOCAL_CLANG_CFLAGS += -fno-slp-vectorize
include $(BUILD_STATIC_LIBRARY)
include $(BUILD_STATIC_LIBRARY)


include $(CLEAR_VARS)
include $(CLEAR_VARS)