We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4a3c718 commit c60433fCopy full SHA for c60433f
Makefile
@@ -52,8 +52,13 @@ OBJ = $(SRC:c_src/%.c=$(BUILD)/%.o)
52
53
ifneq ($(CROSSCOMPILE),)
54
ifeq ($(CROSSCOMPILE), Android)
55
+ CFLAGS:=$(filter-out -O2,$(CFLAGS))
56
CFLAGS += -fPIC -Os -z global
57
LDFLAGS += -fPIC -shared -lm
58
+ else ifeq ($(findstring linux,$(CROSSCOMPILE)),linux)
59
60
+ CFLAGS += -fPIC -Os -fvisibility=hidden
61
+ LDFLAGS += -fPIC -shared
62
else
63
CFLAGS += -fPIC -fvisibility=hidden
64
LDFLAGS += -fPIC -shared
0 commit comments