make_tarball: generate debug binaries

The extended build time isn't worth it for an executable which is run once then thrown away.
This commit is contained in:
David Adam 2025-01-15 23:29:42 +08:00
parent d6e001ac7e
commit dd2b9943a7

View File

@ -59,7 +59,7 @@ git archive --format=tar --prefix="$prefix"/ HEAD > "$path"
PREFIX_TMPDIR=$(mktemp -d)
cd "$PREFIX_TMPDIR"
echo "$VERSION" > version
cmake -G "$BUILD_GENERATOR" "$wd"
cmake -G "$BUILD_GENERATOR" -DCMAKE_BUILD_TYPE=Debug "$wd"
$BUILD_TOOL doc
TAR_APPEND="$TAR --append --file=$path --mtime=now --owner=0 --group=0 \