Browse Source

sde-build-pkg: set optimization to lazy (-O) when -d is given

user/amery/test/random-cleanup
Alejandro Mery 13 years ago
committed by Alejandro Mery
parent
commit
9632d38dc6
1 changed files with 6 additions and 1 deletions
  1. +6
    -1
      scripts/Build-Pkg

+ 6
- 1
scripts/Build-Pkg

@ -102,7 +102,12 @@ fi
. lib/functions.in
. lib/parse-config
[ -z "$build_debug" ] || export "SDECFG_DEBUG=$build_debug"
if [ "$build_debug" = 1 ]; then
echo_warning 'Forcing debug mode'
export SDECFG_DEBUG=1
export SDECFG_OPT=lazy
fi
[ -z "$build_parallel" ] || export "SDECFG_PARALLEL_MAX=$build_parallel"
if [ -z "$root" -a $stagelevel -le 1 ] ||

Loading…
Cancel
Save