Merge pull request #305 from Artturin/use-ar-var

Use the AR variable in Makefile
This commit is contained in:
koverstreet 2024-06-28 11:21:19 -04:00 committed by GitHub
commit b0eb3c2930
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -180,7 +180,7 @@ bcachefs: $(BCACHEFS_DEPS) $(RUST_SRCS)
libbcachefs.a: $(filter-out ./tests/%.o, $(OBJS))
@echo " [AR] $@"
$(Q)ar -rc $@ $+
$(Q)$(AR) -rc $@ $+
tests/test_helper: $(filter ./tests/%.o, $(OBJS))
@echo " [LD] $@"