Skip to content

Commit

Permalink
Update musl
Browse files Browse the repository at this point in the history
  • Loading branch information
joii2020 committed Dec 3, 2024
1 parent aa7dff5 commit f24b826
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Makefile.clang
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion deps/musl
4 changes: 0 additions & 4 deletions lualib/c-stdlib/src/mocked_stdio_impl.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,6 @@
#include <stdlib.h>
#include <string.h>

FILE *stdin;
FILE *stdout;
FILE *stderr;

int ckb_exit(signed char code);

static int s_local_access_enabled = 0;
Expand Down

0 comments on commit f24b826

Please sign in to comment.