diff --git a/Makefile.clang b/Makefile.clang index 1439398..0d56e99 100644 --- a/Makefile.clang +++ b/Makefile.clang @@ -35,7 +35,7 @@ all: lualib/liblua.a build/lua-loader build/spawnexample deps/musl/release/: cd deps/musl/src/stdio - cd deps/musl/ && CLANG=$(CC) ./ckb/build.sh + cd deps/musl/ && CLANG=$(CC) DISABLE_STD_FILE=true ./ckb/build.sh deps/ckb-libcxx-builder/release/: cd deps/ckb-libcxx-builder && mkdir -p release && LLVM_VERSION= CLANG=$(CC) ./build.sh diff --git a/deps/musl b/deps/musl index a0d71f6..867b899 160000 --- a/deps/musl +++ b/deps/musl @@ -1 +1 @@ -Subproject commit a0d71f624b116140eaa41940759c7a2b720ed80f +Subproject commit 867b8995afb9e5ff15253b579af09475235dcf72 diff --git a/lualib/c-stdlib/src/mocked_stdio_impl.h b/lualib/c-stdlib/src/mocked_stdio_impl.h index f863579..45d6b4a 100644 --- a/lualib/c-stdlib/src/mocked_stdio_impl.h +++ b/lualib/c-stdlib/src/mocked_stdio_impl.h @@ -3,10 +3,6 @@ #include #include -FILE *stdin; -FILE *stdout; -FILE *stderr; - int ckb_exit(signed char code); static int s_local_access_enabled = 0;