Skip to content

Commit be1704a

Browse files
authored
give a reasonable default of BUILTINS_LIB (#442)
1 parent eba961b commit be1704a

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,8 @@ ifeq ($(THREAD_MODEL), posix)
4141
TARGET_TRIPLE = wasm32-wasi-threads
4242
endif
4343

44+
BUILTINS_LIB ?= $(shell ${CC} --print-libgcc-file-name)
45+
4446
# These variables describe the locations of various files and directories in
4547
# the source tree.
4648
DLMALLOC_DIR = dlmalloc

0 commit comments

Comments
 (0)