diff options
author | ktrace <ktrace@yandex.ru> | 2018-09-22 15:53:16 +0300 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2018-10-09 21:59:41 +0200 |
commit | d15df4e625dadba62838a9b0ab5e1ffa88715db3 (patch) | |
tree | fa5e3d3c47dc93fe13c547d94a9b35f31062af02 /eclass | |
parent | app-emulation/simplevirt: snapshot bump (diff) | |
download | gentoo-d15df4e625dadba62838a9b0ab5e1ffa88715db3.tar.gz gentoo-d15df4e625dadba62838a9b0ab5e1ffa88715db3.tar.bz2 gentoo-d15df4e625dadba62838a9b0ab5e1ffa88715db3.zip |
waf-utils.eclass: add parameters to compile and install
Signed-off-by: Victor Kustov <ktrace@yandex.ru>
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/waf-utils.eclass | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/eclass/waf-utils.eclass b/eclass/waf-utils.eclass index 4d02483a927e..878068fc9f4f 100644 --- a/eclass/waf-utils.eclass +++ b/eclass/waf-utils.eclass @@ -89,7 +89,7 @@ waf-utils_src_configure() { CCFLAGS="${CFLAGS}" LINKFLAGS="${CFLAGS} ${LDFLAGS}" "${WAF_BINARY}" \ "--prefix=${EPREFIX}/usr" \ "${libdir[@]}" \ - "$@" \ + "${@}" \ configure || die "configure failed" } @@ -102,8 +102,8 @@ waf-utils_src_compile() { [[ ${WAF_VERBOSE} == ON ]] && _mywafconfig="--verbose" local jobs="--jobs=$(makeopts_jobs)" - echo "\"${WAF_BINARY}\" build ${_mywafconfig} ${jobs}" - "${WAF_BINARY}" ${_mywafconfig} ${jobs} || die "build failed" + echo "\"${WAF_BINARY}\" build ${_mywafconfig} ${jobs} ${*}" + "${WAF_BINARY}" ${_mywafconfig} ${jobs} "${@}" || die "build failed" } # @FUNCTION: waf-utils_src_install @@ -112,8 +112,8 @@ waf-utils_src_compile() { waf-utils_src_install() { debug-print-function ${FUNCNAME} "$@" - echo "\"${WAF_BINARY}\" --destdir=\"${D}\" install" - "${WAF_BINARY}" --destdir="${D}" install || die "Make install failed" + echo "\"${WAF_BINARY}\" --destdir=\"${D}\" ${*} install" + "${WAF_BINARY}" --destdir="${D}" "${@}" install || die "Make install failed" # Manual document installation einstalldocs |