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

Message ID 20210902141313.2737982-1-adolf.belka@ipfire.org
State Accepted
Commit 96ba695913e1d558a132cc1abb6c7e0d722ae6ec
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/glib | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Michael Tremer Sept. 6, 2021, 10:16 a.m. UTC | #1
Hello,

I am not going to put a Reviewed-by tag on all of those, but nevertheless thank you for all of them :)

-Michael

> On 2 Sep 2021, at 15:13, Adolf Belka <adolf.belka@ipfire.org> wrote:
> 
> - $(MAKETUNING) variable added to ninja build
> 
> Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
> ---
> lfs/glib | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/lfs/glib b/lfs/glib
> index cbf666f70..58c45415a 100644
> --- a/lfs/glib
> +++ b/lfs/glib
> @@ -75,7 +75,7 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
> 				--sysconfdir=/etc	\
> 				-D internal_pcre=false	\
> 				builddir/
> -	cd $(DIR_APP) && ninja -C builddir/
> +	cd $(DIR_APP) && ninja -C builddir/ $(MAKETUNING)
> 	cd $(DIR_APP) && ninja -C builddir/ install
> 	@rm -rf $(DIR_APP)
> 	@$(POSTBUILD)
> -- 
> 2.33.0
>

Patch

diff --git a/lfs/glib b/lfs/glib
index cbf666f70..58c45415a 100644
--- a/lfs/glib
+++ b/lfs/glib
@@ -75,7 +75,7 @@  $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
 				--sysconfdir=/etc	\
 				-D internal_pcre=false	\
 				builddir/
-	cd $(DIR_APP) && ninja -C builddir/
+	cd $(DIR_APP) && ninja -C builddir/ $(MAKETUNING)
 	cd $(DIR_APP) && ninja -C builddir/ install
 	@rm -rf $(DIR_APP)
 	@$(POSTBUILD)