Skip to content

Commit d68aebf

Browse files
authored
Merge pull request #5 from penzn/master
Enable overriding 'ar'
2 parents b91c4ea + 7ef3038 commit d68aebf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,5 +36,5 @@ $(SYSROOT):
3636
$(RM) *.o
3737
"$(WASM_CC)" $(WASM_CFLAGS) $(WASM_TARGET_FLAGS) --sysroot="$(SYSROOT)" -c $(BASICS_LIBC_SOURCES)
3838
mkdir -p "$(SYSROOT)/lib"
39-
ar crs "$(SYSROOT)/lib/libc.a" *.o
39+
$(AR) crs "$(SYSROOT)/lib/libc.a" *.o
4040
$(RM) *.o

0 commit comments

Comments
 (0)