File tree 1 file changed +10
-0
lines changed
1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -80,6 +80,11 @@ CXXFLAGS +=
80
80
CFLAGS +=
81
81
LDFLAGS += -s WASM=2 -s LEGACY_VM_SUPPORT=1 -Wno-transpile
82
82
83
+ # work-around <https://github.com/emscripten-core/emscripten/issues/17897>.
84
+ CXXFLAGS += -fno-inline-functions
85
+ CFLAGS += -fno-inline-functions
86
+ LDFLAGS += -fno-inline-functions
87
+
83
88
LDFLAGS += -s ALLOW_MEMORY_GROWTH=1
84
89
85
90
else ifeq ($(EMSCRIPTEN_TARGET),audioworkletprocessor)
@@ -107,6 +112,11 @@ CXXFLAGS +=
107
112
CFLAGS +=
108
113
LDFLAGS += -s WASM=0 -s LEGACY_VM_SUPPORT=1 -Wno-transpile
109
114
115
+ # work-around <https://github.com/emscripten-core/emscripten/issues/17897>.
116
+ CXXFLAGS += -fno-inline-functions
117
+ CFLAGS += -fno-inline-functions
118
+ LDFLAGS += -fno-inline-functions
119
+
110
120
LDFLAGS += -s ALLOW_MEMORY_GROWTH=1
111
121
112
122
endif
You can’t perform that action at this time.
0 commit comments