Skip to content

Commit

Permalink
Update build flags for android build as well
Browse files Browse the repository at this point in the history
  • Loading branch information
edo9300 committed Feb 24, 2025
1 parent 743fa85 commit e3e15bc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Android.mk
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ LOCAL_SRC_FILES := card.cpp \
scriptlib.cpp

LOCAL_CFLAGS := -pedantic -Wextra -fvisibility=hidden -DOCGCORE_EXPORT_FUNCTIONS -DNDEBUG
LOCAL_CPPFLAGS := -fexceptions -fno-rtti
LOCAL_CPPFLAGS := -fno-exceptions -fno-rtti
ifeq ($(TARGET_ARCH_ABI), arm64-v8a)
LOCAL_LDFLAGS += "-Wl,-z,max-page-size=16384"
endif
Expand Down
3 changes: 1 addition & 2 deletions lua/Android.mk
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@ EXCLUDED_LUA_FILES := \
FILE_LIST := $(filter-out $(EXCLUDED_LUA_FILES), $(wildcard $(LOCAL_PATH)/src/*.c))
LOCAL_SRC_FILES := $(FILE_LIST:$(LOCAL_PATH)/%=%)

LOCAL_CPPFLAGS := -fexceptions -fno-rtti -include ./luaconf-customize.h -Wno-deprecated
LOCAL_CPP_EXTENSION := .c
LOCAL_CFLAGS := -fno-exceptions -include ./luaconf-customize.h -Wno-deprecated
LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)/src
LOCAL_THIN_ARCHIVE := true

Expand Down

0 comments on commit e3e15bc

Please sign in to comment.