You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@buildstream.apache.org by tv...@apache.org on 2022/08/15 08:27:53 UTC
[buildstream-plugins] branch master updated: Port make-args feature from make to autotools
This is an automated email from the ASF dual-hosted git repository.
tvb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/buildstream-plugins.git
The following commit(s) were added to refs/heads/master by this push:
new 54e00f1 Port make-args feature from make to autotools
new 426cfab Merge pull request #23 from nanonyme/make-args
54e00f1 is described below
commit 54e00f1efa8d77844491bf1b6be36561d3c571a6
Author: Seppo Yli-Olli <se...@gmail.com>
AuthorDate: Fri Aug 5 22:17:29 2022 +0300
Port make-args feature from make to autotools
This is important not just for plain makefile elements but
also for autotools elements
---
src/buildstream_plugins/elements/autotools.yaml | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)
diff --git a/src/buildstream_plugins/elements/autotools.yaml b/src/buildstream_plugins/elements/autotools.yaml
index 80f35e0..c8ba33b 100644
--- a/src/buildstream_plugins/elements/autotools.yaml
+++ b/src/buildstream_plugins/elements/autotools.yaml
@@ -45,8 +45,14 @@ variables:
%{conf-cmd} %{conf-args}
- make: make -C "%{build-dir}"
- make-install: make -j1 -C "%{build-dir}" DESTDIR="%{install-root}" install
+ make-args: >-
+ -C "%{build-dir}"
+ make-install-args: >-
+ %{make-args}
+ DESTDIR="%{install-root}"
+ install
+ make: make %{make-args}
+ make-install: make -j1 %{make-install-args}
# Set this if the sources cannot handle parallelization.
#