File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change 4
4
CPP_CONTEXT_LIB = ${PROXY_WASM_CPP_SDK}/proxy_wasm_intrinsics.cc
5
5
endif
6
6
7
- PROTOBUF? = none
7
+ PROTOBUF ?= none
8
8
ifeq ($(PROTOBUF ) , full)
9
9
PROTO_DEPS := protobuf
10
10
PROTO_OPTS := -DPROXY_WASM_PROTOBUF_FULL=1 \
20
20
endif
21
21
22
22
# Provide a list of libraries that the wasm depends on (absl_*, re2, etc).
23
- WASM_DEPS? =absl_base
23
+ WASM_DEPS ?=
24
24
25
25
# Determine dependency link options.
26
26
# NOTE: Strip out -pthread which RE2 claims to need...
27
- PKG_CONFIG? = pkg-config
28
- PKG_CONFIG_PATH = ${EMSDK}/upstream/emscripten/cache/sysroot/lib/pkgconfig
29
- WASM_LIBS = $(shell $(PKG_CONFIG ) $(WASM_DEPS ) $(PROTO_DEPS ) \
27
+ PKG_CONFIG ?= pkg-config
28
+ PKG_CONFIG_PATH = ${EMSDK}/upstream/emscripten/cache/sysroot/lib/pkgconfig
29
+ WASM_LIBS = $(shell $(PKG_CONFIG ) $(WASM_DEPS ) $(PROTO_DEPS ) \
30
30
--with-path=$(PKG_CONFIG_PATH ) --libs | sed -e 's/-pthread //g')
31
31
32
32
debug-deps :
@@ -35,7 +35,7 @@ debug-deps:
35
35
# PROTO_DEPS: ${PROTO_DEPS}
36
36
# PROTO_OPTS: ${PROTO_OPTS}
37
37
38
- # TODO(martijneken ): Add Emscripten stack/heap size params.
38
+ # TODO(mpwarres ): Add Emscripten stack/heap size params in PR#174 .
39
39
% .wasm % .wat : % .cc
40
40
em++ --no-entry -sSTANDALONE_WASM -sEXPORTED_FUNCTIONS=_malloc \
41
41
--std=c++17 -O3 -flto \
You can’t perform that action at this time.
0 commit comments