Skip to content

Commit

Permalink
update make file
Browse files Browse the repository at this point in the history
  • Loading branch information
contrun committed Oct 25, 2023
1 parent 295a57f commit 33d4357
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Makefile.clang
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ build/stdlib.o: include/ckb-c-stdlib/libc/src/impl.c
@$(CC) $(filter-out -DCKB_DECLARATION_ONLY, $(CFLAGS)) -c -o $@ $<

lualib/liblua.a:
make -C lualib -f Makefile.clang liblua.a
make -C lualib -f Makefile.clang CC=$(CC) liblua.a

build/spawnexample.o: examples/spawn.c
$(CC) -c $(CFLAGS) -o $@ $<
Expand Down
2 changes: 1 addition & 1 deletion lualib/Makefile.clang
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
# Your platform. See PLATS for possible values.
PLAT= guess

CC= clang-16
CC ?= clang-16
# -ULUA_USE_LINUX -ULUA_USE_POSIX to make lua dependencies minimal,
# otherwise, we may unable to find various platform dependent symbols, e.g.
# setsignal.
Expand Down

0 comments on commit 33d4357

Please sign in to comment.