Skip to content

Commit 8ee54f9

Browse files
committed
android -fno-exceptions
1 parent c8e8088 commit 8ee54f9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,8 @@ else ifeq ($(PLATFORM),android)
6868
TARGET := $(DIST_DIR)/cloudsync.so
6969
LDFLAGS += -shared -lm -lssl -lcrypto
7070
# Android-specific flags
71-
CFLAGS += -D__ANDROID__
71+
CFLAGS += -D__ANDROID__ -fno-exceptions
72+
TEST_FLAGS += -fno-exceptions
7273
else ifeq ($(PLATFORM),ios)
7374
TARGET := $(DIST_DIR)/cloudsync.dylib
7475
SDK := -isysroot $(shell xcrun --sdk iphoneos --show-sdk-path) -miphoneos-version-min=11.0

0 commit comments

Comments
 (0)