Commit 935ae29f authored by Max Lv's avatar Max Lv

Fix the crash on armeabi devices with NDK r18b, #2041

parent d16cb58c
......@@ -25,9 +25,9 @@ BUILD_SHARED_EXECUTABLE := $(LOCAL_PATH)/build-shared-executable.mk
include $(CLEAR_VARS)
SODIUM_SOURCE := \
crypto_aead/aes256gcm/aesni/aead_aes256gcm_aesni.c \
crypto_aead/chacha20poly1305/sodium/aead_chacha20poly1305.c \
crypto_aead/xchacha20poly1305/sodium/aead_xchacha20poly1305.c \
crypto_core/curve25519/ref10/curve25519_ref10.c \
crypto_core/hchacha20/core_hchacha20.c \
crypto_core/salsa/ref/core_salsa_ref.c \
crypto_generichash/blake2b/ref/blake2b-compress-ref.c \
......@@ -197,7 +197,7 @@ CORK_SOURCE := $(cli_src) $(core_src) $(ds_src) $(posix_src) $(pthreads_src)
LOCAL_MODULE := libcork
LOCAL_CFLAGS += -I$(LOCAL_PATH)/shadowsocks-libev/libcork/include \
-DCORK_API=CORK_LOCAL
-DCORK_API=CORK_LOCAL -Ofast
LOCAL_SRC_FILES := $(addprefix shadowsocks-libev/libcork/src/libcork/,$(CORK_SOURCE))
......
Subproject commit c5e43f4c1cf62b4669b1f33516fc33ef2d005187
Subproject commit fec4c92d81189e0394ad94e14f238a837c81385e
Subproject commit 57e74eaa3430e82a66337c6e72876b79ea33bcc0
Subproject commit 396959635c8c06b9490c8a90897eb31c1484f1f1
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment