autobuild.sh: replace --disable-debug
Using "get_config_params" and appending --disable- debug results in contradictory options on the same ./configure line. Sed out "--enable-debug" instead. Signed-off-by: Karol Latecki <karol.latecki@intel.com> Change-Id: I465f38b4c63ab7a6ae824c7932b2548fdb362ff3 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/4733 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Reviewed-by: Jim Harris <james.r.harris@intel.com>
This commit is contained in:
parent
63a6e3ba31
commit
d526c73c61
@ -35,11 +35,12 @@ fi
|
||||
|
||||
timing_enter build_release
|
||||
|
||||
config_params="$(get_config_params | sed 's/--enable-debug//g')"
|
||||
if [ $(uname -s) = Linux ]; then
|
||||
./configure $(get_config_params) --disable-debug --enable-lto
|
||||
./configure $config_params --enable-lto
|
||||
else
|
||||
# LTO needs a special compiler to work on BSD.
|
||||
./configure $(get_config_params) --disable-debug
|
||||
./configure $config_params
|
||||
fi
|
||||
$MAKE ${MAKEFLAGS}
|
||||
$MAKE ${MAKEFLAGS} clean
|
||||
|
Loading…
Reference in New Issue
Block a user