mirror of
https://github.com/koverstreet/bcachefs-tools.git
synced 2025-12-10 00:00:24 +03:00
Use the AR variable in Makefile
For cross-compiling
This commit is contained in:
parent
411df4e53f
commit
91e67ab2bd
2
Makefile
2
Makefile
@ -180,7 +180,7 @@ bcachefs: $(BCACHEFS_DEPS) $(RUST_SRCS)
|
|||||||
|
|
||||||
libbcachefs.a: $(filter-out ./tests/%.o, $(OBJS))
|
libbcachefs.a: $(filter-out ./tests/%.o, $(OBJS))
|
||||||
@echo " [AR] $@"
|
@echo " [AR] $@"
|
||||||
$(Q)ar -rc $@ $+
|
$(Q)$(AR) -rc $@ $+
|
||||||
|
|
||||||
tests/test_helper: $(filter ./tests/%.o, $(OBJS))
|
tests/test_helper: $(filter ./tests/%.o, $(OBJS))
|
||||||
@echo " [LD] $@"
|
@echo " [LD] $@"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user