Browse Source

Update _cmd_build

add codeanalyse option
pull/50/head
Gorgone 4 years ago
committed by GitHub
parent
commit
08dfe08227
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 5
      support/functions/_cmd_build

5
support/functions/_cmd_build

@ -37,6 +37,9 @@ _cmd_build(){
[ "$e" == "$d" ] && USE_vars[${e:0: -2}]=; [ "$e" == "$d" ] && USE_vars[${e:0: -2}]=;
done done
if [ $e == "USE_DIAG=1" ]; then
codecheck=$(command -v scan-build)
fi
done done
cd "$svndir" cd "$svndir"
@ -185,7 +188,7 @@ printf "$y_l\n | set : ${cdtag}$w_l"
_nl _nl
USESTRING=${USE_vars[@]} USESTRING=${USE_vars[@]}
EXTRA_USE=$extra_use EXTRA_USE=$extra_use
make -j"$cpus" $_verbose \ $codecheck make -j"$cpus" $_verbose \
"CONF_DIR=$CONFDIR" \ "CONF_DIR=$CONFDIR" \
"OSCAM_BIN=$bdir/$oscam_name" \ "OSCAM_BIN=$bdir/$oscam_name" \
"CC_OPTS=$co $cc_opts $extra_cc" \ "CC_OPTS=$co $cc_opts $extra_cc" \

Loading…
Cancel
Save