[6/6] sshfs: Add $(MAKETUNING) variable to ninja build

Message ID 20210902141313.2737982-6-adolf.belka@ipfire.org
State Accepted
Commit 264cd5b03eb424ad5131c2a0ff61556f9604458b
Headers show
Series [1/6] glib: Add $(MAKETUNING) variable to ninja build | expand

Commit Message

Adolf Belka Sept. 2, 2021, 2:13 p.m. UTC
- $(MAKETUNING) variable added to ninja build

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
---
 lfs/sshfs | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

Patch

diff --git a/lfs/sshfs b/lfs/sshfs
index 1e7706194..23b68c541 100644
--- a/lfs/sshfs
+++ b/lfs/sshfs
@@ -73,6 +73,8 @@  $(subst %,%_MD5,$(objects)) :
 $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
 	@$(PREBUILD)
 	@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar axf $(DIR_DL)/$(DL_FILE)
-	cd $(DIR_APP) && meson --prefix=/usr builddir && cd builddir && ninja && ninja install
+	cd $(DIR_APP) && meson --prefix=/usr builddir/
+	cd $(DIR_APP) && ninja -C builddir/ $(MAKETUNING)
+	cd $(DIR_APP) && ninja -C builddir/ install
 	@rm -rf $(DIR_APP)
 	@$(POSTBUILD)