Line
Link Here
|
0 |
-- eclass/waf-utils.eclass |
0 |
++ eclass/waf-utils.eclass |
Lines 29-34
Link Here
|
29 |
dev-lang/python |
29 |
dev-lang/python |
30 |
!dev-lang/python[-threads]" |
30 |
!dev-lang/python[-threads]" |
31 |
|
31 |
|
|
|
32 |
# @ECLASS-VARIABLE: WAF_VERBOSE |
33 |
# @DESCRIPTION: |
34 |
# Set to OFF to disable verbose messages during compilation |
35 |
: ${WAF_VERBOSE:=ON} |
36 |
|
32 |
# @FUNCTION: waf-utils_src_configure |
37 |
# @FUNCTION: waf-utils_src_configure |
33 |
# @DESCRIPTION: |
38 |
# @DESCRIPTION: |
34 |
# General function for configuring with waf. |
39 |
# General function for configuring with waf. |
Lines 55-64
Link Here
|
55 |
# General function for compiling with waf. |
60 |
# General function for compiling with waf. |
56 |
waf-utils_src_compile() { |
61 |
waf-utils_src_compile() { |
57 |
debug-print-function ${FUNCNAME} "$@" |
62 |
debug-print-function ${FUNCNAME} "$@" |
|
|
63 |
local _mywafconfig |
64 |
[[ "${WAF_VERBOSE}" ]] && _mywafconfig="-v" |
58 |
|
65 |
|
59 |
local jobs="--jobs=$(makeopts_jobs)" |
66 |
local jobs="--jobs=$(makeopts_jobs)" |
60 |
echo "\"${WAF_BINARY}\" build ${jobs}" |
67 |
echo "\"${WAF_BINARY}\" build ${_mywafconfig} ${jobs}" |
61 |
"${WAF_BINARY}" ${jobs} || die "build failed" |
68 |
"${WAF_BINARY}" ${_mywafconfig} ${jobs} || die "build failed" |
62 |
} |
69 |
} |
63 |
|
70 |
|
64 |
# @FUNCTION: waf-utils_src_install |
71 |
# @FUNCTION: waf-utils_src_install |