summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArtturin <Artturin@artturin.com>2024-06-24 21:00:08 +0300
committerArtturin <Artturin@artturin.com>2024-06-24 21:00:08 +0300
commit91e67ab2bd48fa135a1f5109b23899a4f1019a03 (patch)
tree5e5bf07cdfea1b6c2a4430235e0be6aba43e456a
parent411df4e53fdc58cfca2e473e54c1bed9cf17740d (diff)
Use the AR variable in Makefile
For cross-compiling
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index d36bb4cb..01a8177a 100644
--- a/Makefile
+++ b/Makefile
@@ -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] $@"