Skip to content

Commit a919c57

Browse files
committed
android rm useless flags
1 parent 8ee54f9 commit a919c57

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

Makefile

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,10 +66,9 @@ else ifeq ($(PLATFORM),android)
6666
$(error "CC must be set to the Android NDK's Clang compiler")
6767
endif
6868
TARGET := $(DIST_DIR)/cloudsync.so
69-
LDFLAGS += -shared -lm -lssl -lcrypto
69+
LDFLAGS += -shared
7070
# Android-specific flags
71-
CFLAGS += -D__ANDROID__ -fno-exceptions
72-
TEST_FLAGS += -fno-exceptions
71+
CFLAGS += -D__ANDROID__
7372
else ifeq ($(PLATFORM),ios)
7473
TARGET := $(DIST_DIR)/cloudsync.dylib
7574
SDK := -isysroot $(shell xcrun --sdk iphoneos --show-sdk-path) -miphoneos-version-min=11.0

0 commit comments

Comments
 (0)