Skip to content

Commit

Permalink
Use the correct compiler-rt (#517)
Browse files Browse the repository at this point in the history
eg. when a user specifies non-default -resource-dir.

cf. WebAssembly/wasi-sdk#446
  • Loading branch information
yamt authored Jul 24, 2024
1 parent b9e15a8 commit b9ef79d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ ifeq ($(WASI_SNAPSHOT), p2)
TARGET_TRIPLE = wasm32-wasip2
endif

BUILTINS_LIB ?= $(shell ${CC} --print-libgcc-file-name)
BUILTINS_LIB ?= $(shell ${CC} ${CFLAGS} --print-libgcc-file-name)

# These variables describe the locations of various files and directories in
# the source tree.
Expand Down

0 comments on commit b9ef79d

Please sign in to comment.