Skip to content

Commit

Permalink
fix Android.mk
Browse files Browse the repository at this point in the history
  • Loading branch information
herumi committed Nov 19, 2019
1 parent cfcffeb commit 43da71f
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ BASE_LL=../mcl/src/base64.ll ../mcl/src/base32.ll

ANDROID_TARGET=armeabi-v7a arm64-v8a x86_64
android: $(BASE_LL)
@ndk-build -C android/jni
@ndk-build -C android/jni NDK_DEBUG=0
@for target in $(ANDROID_TARGET); do \
mkdir -p bls/lib/android/$$target; \
cp android/obj/local/$$target/libbls384_256.a bls/lib/android/$$target/; \
Expand Down
2 changes: 1 addition & 1 deletion android/jni/Android.mk
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ ifeq ($(MY_BIT),32)
endif
LOCAL_SRC_FILES := $(LOCAL_PATH)/../../../bls/src/bls_c384_256.cpp $(LOCAL_PATH)/../../../mcl/src/fp.cpp $(MY_BASE_LL)
LOCAL_C_INCLUDES := $(LOCAL_PATH)/../../../bls/include $(LOCAL_PATH)/../../../mcl/include
LOCAL_CPPFLAGS += -O3 -DNDEBUG -fPIC -DMCL_DONT_USE_OPENSSL -DMCL_LLVM_BMI2=0 -DMCL_USE_LLVM=1 -DMCL_USE_VINT -DMCL_VINT_FIXED_BUFFER -DMCL_MAX_BIT_SIZE=256 -DCYBOZU_DONT_USE_EXCEPTION -DCYBOZU_DONT_USE_STRING -std=c++03
LOCAL_CPPFLAGS += -O3 -DNDEBUG -fPIC -DMCL_DONT_USE_OPENSSL -DMCL_LLVM_BMI2=0 -DMCL_USE_LLVM=1 -DMCL_USE_VINT -DMCL_VINT_FIXED_BUFFER -DMCL_MAX_BIT_SIZE=384 -DCYBOZU_DONT_USE_EXCEPTION -DCYBOZU_DONT_USE_STRING -std=c++03
LOCAL_CPPFLAGS += -DBLS_ETH -DBLS_SWAP_G
#LOCAL_LDLIBS := -llog #-Wl,--no-warn-shared-textrel
include $(BUILD_STATIC_LIBRARY)
Binary file modified bls/lib/android/arm64-v8a/libbls384_256.a
Binary file not shown.
Binary file added bls/lib/android/armeabi-v7a/libbls384_256.a
Binary file not shown.
Binary file added bls/lib/android/x86_64/libbls384_256.a
Binary file not shown.

0 comments on commit 43da71f

Please sign in to comment.