Skip to content

Commit 7e1f009

Browse files
committed
feat envoy: Add WASM32 platform to autocheck.
commit_hash:77312c225fc59890a2f7e90dbf7d6c11bc8e5476
1 parent e9eb180 commit 7e1f009

File tree

2 files changed

+3
-8
lines changed

2 files changed

+3
-8
lines changed

build/conf/compilers/gnu_compiler.conf

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -101,14 +101,6 @@ when ($OS_EMSCRIPTEN == "yes") {
101101
CFLAGS+=-D__EMSCRIPTEN__
102102
}
103103

104-
when ($ARCH_WASM64 == "yes") {
105-
CFLAGS+=-D_LIBCPP_HAS_MUSL_LIBC
106-
}
107-
108-
when ($ARCH_WASM32 == "yes") {
109-
CFLAGS+=-D_musl_
110-
}
111-
112104
CFLAGS+=$_C_FLAGS $DEBUG_INFO_FLAGS $_C_FOPTIONS $C_WARNING_OPTS $GCC_PREPROCESSOR_OPTS $USER_CFLAGS $USER_CFLAGS_GLOBAL
113105
CXXFLAGS+=$CFLAGS $_STD_CXX $CXX_WARNING_OPTS $USER_CXXFLAGS $USER_CXXFLAGS_GLOBAL
114106
CONLYFLAGS+=$USER_CONLYFLAGS $USER_CONLYFLAGS_GLOBAL

build/ymake.core.conf

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -772,6 +772,9 @@ module _BASE_UNIT: _BARE_UNIT {
772772
when ($OS_EMSCRIPTEN == "yes") {
773773
when ($NOLIBC != "yes") {
774774
PEERDIR+=contrib/restricted/emscripten/include
775+
PEERDIR+=contrib/restricted/emscripten/system/lib/c
776+
PEERDIR+=contrib/restricted/emscripten/system/lib/dlmalloc
777+
PEERDIR+=contrib/restricted/emscripten/system/lib/standalonewasm
775778
}
776779
}
777780

0 commit comments

Comments
 (0)