mirror of
https://github.com/LSPosed/LSPlant.git
synced 2025-05-05 22:16:37 +08:00
15 lines
613 B
Makefile
15 lines
613 B
Makefile
APP_CFLAGS := -Wall -Wextra
|
|
APP_CFLAGS += -fno-stack-protector -fomit-frame-pointer
|
|
APP_CFLAGS += -Wno-builtin-macro-redefined -D__FILE__=__FILE_NAME__ -Wno-gnu-string-literal-operator-template
|
|
APP_CPPFLAGS := -std=c++20
|
|
APP_CONLYFLAGS := -std=c18
|
|
APP_STL := c++_shared
|
|
|
|
ifneq ($(NDK_DEBUG),1)
|
|
APP_CFLAGS += -Oz
|
|
APP_CFLAGS += -Wno-unused -Wno-unused-parameter -Werror
|
|
APP_CFLAGS += -fvisibility=hidden -fvisibility-inlines-hidden
|
|
APP_CFLAGS += -fno-unwind-tables -fno-asynchronous-unwind-tables
|
|
APP_LDFLAGS += -Wl,--exclude-libs,ALL -Wl,--gc-sections -Wl,--strip-all
|
|
endif
|