This repository has no description
0

Configure Feed

Select the types of activity you want to include in your feed.

busybox: build with shared memory

+2 -2
+2 -2
packages/busybox/package.nix
··· 36 36 ARCH=wasm32 \ 37 37 HOSTCC=${clang-host}/bin/clang \ 38 38 CC=${clang}/bin/clang \ 39 - CFLAGS_busybox="${musl}/lib/crt1.o -Wl,--import-memory" "$@" 39 + CFLAGS_busybox="${musl}/lib/crt1.o -Wl,--import-memory -Wl,--max-memory=4294967296 -Wl,--shared-memory -Wl,--export-table" "$@" 40 40 } 41 41 42 42 config() { ··· 54 54 config STATIC_LIBGCC n 55 55 config CROSS_COMPILER_PREFIX llvm- 56 56 config SYSROOT ${musl} 57 - config EXTRA_CFLAGS '-nostdlib -isystem ${musl}/include -I${linux.headers}/include ${lib.optionalString config.debug "-g"}' 57 + config EXTRA_CFLAGS '-nostdlib -isystem ${musl}/include -I${linux.headers}/include ${lib.optionalString config.debug "-g"} -matomics -mbulk-memory' 58 58 config EXTRA_LDFLAGS ${compiler-rt}/libclang_rt.builtins-wasm32.a 59 59 config EXTRA_LDLIBS c 60 60