Skip to content

Commit

Permalink
Make it simpler to compile a release build on Linux
Browse files Browse the repository at this point in the history
  • Loading branch information
Jarred-Sumner committed Aug 11, 2024
1 parent cf363fa commit 678c761
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,9 @@ if [ "$WEBKIT_RELEASE_TYPE" == "relwithdebuginfo" ]; then
CONTAINER_NAME=bun-webkit-linux-$BUILDKIT_ARCH-dbg
fi

if [ "$WEBKIT_RELEASE_TYPE" == "Debug" ]; then
# If LTO is not enabled, we still need to be able to do a local release build.
# We use bullseye for CI to support older versions of glibc, but that requires libc++.
if [ "$WEBKIT_RELEASE_TYPE" == "Debug" || "$LTO_FLAG" == "" ]; then
export DEBIAN_VERSION="bookworm"
else
export DEBIAN_VERSION="bullseye"
Expand Down

0 comments on commit 678c761

Please sign in to comment.