File tree Expand file tree Collapse file tree 2 files changed +3
-8
lines changed Expand file tree Collapse file tree 2 files changed +3
-8
lines changed Original file line number Diff line number Diff line change @@ -101,14 +101,6 @@ when ($OS_EMSCRIPTEN == "yes") {
101
101
CFLAGS+=-D__EMSCRIPTEN__
102
102
}
103
103
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
-
112
104
CFLAGS+=$_C_FLAGS $DEBUG_INFO_FLAGS $_C_FOPTIONS $C_WARNING_OPTS $GCC_PREPROCESSOR_OPTS $USER_CFLAGS $USER_CFLAGS_GLOBAL
113
105
CXXFLAGS+=$CFLAGS $_STD_CXX $CXX_WARNING_OPTS $USER_CXXFLAGS $USER_CXXFLAGS_GLOBAL
114
106
CONLYFLAGS+=$USER_CONLYFLAGS $USER_CONLYFLAGS_GLOBAL
Original file line number Diff line number Diff line change @@ -772,6 +772,9 @@ module _BASE_UNIT: _BARE_UNIT {
772
772
when ($OS_EMSCRIPTEN == "yes") {
773
773
when ($NOLIBC != "yes") {
774
774
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
775
778
}
776
779
}
777
780
You can’t perform that action at this time.
0 commit comments